diff options
-rw-r--r-- | lib/chef/provider/package/chocolatey.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/chocolatey.rb b/lib/chef/provider/package/chocolatey.rb index cf0220b708..c47e112d6a 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') + next if line.start_with?('Chocolatey v') name, version = line.split("|") list << [ name.downcase, version.chomp ] end |