lib/dpl/provider.rb in dpl-2.0.0.beta.2 vs lib/dpl/provider.rb in dpl-2.0.0.beta.3
- old
+ new
@@ -551,10 +551,10 @@
Shellwords.escape(str)
end
# Double quotes the given string.
def quote(str)
- %("#{str.gsub('"', '\"')}")
+ %("#{str.to_s.gsub('"', '\"')}")
end
# Outdents the given string.
#
# @see Dpl::Squiggle