summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sedlacek <dansedlacek@fb.com>2016-03-28 19:31:09 -0700
committerDan Sedlacek <dansedlacek@fb.com>2016-03-28 19:31:09 -0700
commit900f711b1a2375e657a88ce16900a2d73d913743 (patch)
tree09ee84c59ca2000710f57d1b984adcf1140d0e68
parent0257706dbe0b28c98fce53f508afd50692df0bd9 (diff)
downloadchef-900f711b1a2375e657a88ce16900a2d73d913743.tar.gz
fix quotes
-rw-r--r--lib/chef/provider/package/chocolatey.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/chocolatey.rb b/lib/chef/provider/package/chocolatey.rb
index c47e112d6a..ebd3f987cd 100644
--- a/lib/chef/provider/package/chocolatey.rb
+++ b/lib/chef/provider/package/chocolatey.rb
@@ -256,7 +256,7 @@ EOS
def parse_list_output(*args)
list = []
choco_command(*args).stdout.each_line do |line|
- next if line.start_with?('Chocolatey v')
+ next if line.start_with?("Chocolatey v")
name, version = line.split("|")
list << [ name.downcase, version.chomp ]
end