diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-10-23 10:42:25 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-10-23 10:42:25 -0700 |
commit | 915691a5053f2779805462ea98cbccfc76e0cce3 (patch) | |
tree | a797dd50da704ac054edbdcc7ad6242b658df565 /lib | |
parent | 94dc0364dfa99dba3a5dbfbefeb08f41926b5468 (diff) | |
download | chef-915691a5053f2779805462ea98cbccfc76e0cce3.tar.gz |
remove force of utf-8lcg/remove-force-utf8
chef-12 will do this globally
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/package/pacman.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/provider/package/pacman.rb b/lib/chef/provider/package/pacman.rb index a9ff0edf7f..4963d1910c 100644 --- a/lib/chef/provider/package/pacman.rb +++ b/lib/chef/provider/package/pacman.rb @@ -34,7 +34,6 @@ class Chef Chef::Log.debug("#{@new_resource} checking pacman for #{@new_resource.package_name}") status = popen4("pacman -Qi #{@new_resource.package_name}") do |pid, stdin, stdout, stderr| stdout.each do |line| - line.force_encoding(Encoding::UTF_8) if line.respond_to?(:force_encoding) case line when /^Version(\s?)*: (.+)$/ Chef::Log.debug("#{@new_resource} current version is #{$2}") |