diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-10-22 09:30:19 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-10-23 18:06:06 -0700 |
commit | 421cabc9d82bfddeb1b18660f03e7de2be676272 (patch) | |
tree | f630343314682b039359edaed3d6074a07b5f440 | |
parent | 9c531a840ae86dbdd90565ed1c3bd3b93be47146 (diff) | |
download | chef-421cabc9d82bfddeb1b18660f03e7de2be676272.tar.gz |
Sytle cleanupjdmundrawala/env-split
-rw-r--r-- | lib/chef/provider/env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/env.rb b/lib/chef/provider/env.rb index fc28a94f78..600cac1e6b 100644 --- a/lib/chef/provider/env.rb +++ b/lib/chef/provider/env.rb @@ -94,7 +94,7 @@ class Chef def delete_element return false unless @new_resource.delim #no delim: delete the key needs_delete = new_values.any? { |v| current_values.include?(v) } - if not needs_delete + if !needs_delete Chef::Log.debug("#{@new_resource} element '#{@new_resource.value}' does not exist") return true #do not delete the key else |