lib/rake/funnel/support/argument_mapper/styles/msdeploy.rb in rake-funnel-0.22.3 vs lib/rake/funnel/support/argument_mapper/styles/msdeploy.rb in rake-funnel-0.23.0
- old
+ new
@@ -45,10 +45,10 @@
res.compact
end
def quote(value)
value = value.gsub(/"/, '""') if value.is_a?(String)
- return %("#{value}") if value =~ /\s/
+ return %("#{value}") if value.to_s =~ /\s/
value
end
end
end