summaryrefslogtreecommitdiff
path: root/lib/chef/provider
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-01-15 10:27:12 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-01-15 10:27:12 -0800
commited9098eda1c9362b5e3f1d0664843c8ceedbafce (patch)
tree5f94564fb3e2f8181ff7791e5607d4e827eff673 /lib/chef/provider
parentc0e4c98ed9630edda0d2285897a7dc6af57e26b7 (diff)
downloadchef-ed9098eda1c9362b5e3f1d0664843c8ceedbafce.tar.gz
fix chefstyle failures
autocorrects some merges that will be broken when the next chefstyle is released. also runs chefstyle after the travis tests, because i'd rather know how the code is broken rather than how its not pretty.
Diffstat (limited to 'lib/chef/provider')
-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 3bf2ced297..87abe299b6 100644
--- a/lib/chef/provider/package/chocolatey.rb
+++ b/lib/chef/provider/package/chocolatey.rb
@@ -238,7 +238,7 @@ class Chef
def parse_list_output(*args)
list = []
choco_command(*args).stdout.each_line do |line|
- name, version = line.split('|')
+ name, version = line.split("|")
list << [ name.downcase, version.chomp ]
end
list