From cb4edfbe7ee0a737e99bcaf588b7d0f339a34d73 Mon Sep 17 00:00:00 2001 From: Joseph Turner Date: Thu, 15 Aug 2024 01:15:08 -0700 Subject: [PATCH] Fix: (plz) Create empty directories when outputting to a file --- plz.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plz.el b/plz.el index 49b37ad..26ab56b 100644 --- a/plz.el +++ b/plz.el @@ -430,7 +430,8 @@ into the process buffer. (curl-config-header-args (cl-loop for (key . value) in headers collect (cons "--header" (format "%s: %s" key value)))) (curl-config-args (append curl-config-header-args - (list (cons "--url" url)) + (list (cons "--url" url) + (cons "--create-dirs" "")) (when connect-timeout (list (cons "--connect-timeout" (number-to-string connect-timeout))))