lib/pups/docker.rb in pups-1.1.0 vs lib/pups/docker.rb in pups-1.1.1

- old
+ new

@@ -53,14 +53,10 @@ def escape_user_string_literal(str) # We need to escape the following strings as they are more likely to contain # special characters than any of the other config variables on a Linux system: # - the value side of an environment variable # - the value side of a label. - if str.to_s.include?(" ") - "\"#{Shellwords.escape(str)}\"" - else - Shellwords.escape(str) - end + Shellwords.escape(str) end def normalize_output(output) if output.empty? ""