Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 0890bef

Browse files
committed
wrap args in single quotes
1 parent c171f4c commit 0890bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def cli_args(spec)
99
when Array
1010
cli_line += value.map { |a| " --#{arg} " + a }.join
1111
when Fixnum, Integer, String
12-
cli_line += " --#{arg} #{value}"
12+
cli_line += " --#{arg} '#{value}'"
1313
when TrueClass
1414
cli_line += " --#{arg}"
1515
end

0 commit comments

Comments
 (0)