Skip to content

Commit

Permalink
Fix: (plz) Create empty directories when outputting to a file
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmturner committed Aug 15, 2024
1 parent 399ad3e commit cb4edfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plz.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
Expand Down

0 comments on commit cb4edfb

Please sign in to comment.