Skip to content

Commit

Permalink
fix(dockerfile-build-arg-string): fix concatenation with '='
Browse files Browse the repository at this point in the history
  • Loading branch information
David Larsson authored and drewcsillag committed Mar 4, 2024
1 parent 35178a0 commit e993407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfile-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ by `dockerfile-enable-auto-indent'."

(defun dockerfile-build-arg-string ()
"Create a --build-arg string for each element in `dockerfile-build-args'."
(mapconcat (lambda (arg) (concat "--build-arg " (shell-quote-argument arg)))
(mapconcat (lambda (arg) (concat "--build-arg=" (shell-quote-argument arg)))
dockerfile-build-args " "))

(defun dockerfile-standard-filename (file)
Expand Down

0 comments on commit e993407

Please sign in to comment.