diff options
author | Andrew Brown <andrew.brown@shopify.com> | 2016-05-30 12:18:56 -0400 |
---|---|---|
committer | Andrew Brown <andrew.brown@shopify.com> | 2016-05-30 12:22:35 -0400 |
commit | 75ace978d070f2f8923f40c328ea594cd505cafb (patch) | |
tree | 31129c597e82391caedaa71e573be89d397c7ff4 /lib/chef/dsl | |
parent | d8014435565ce81b961dde09b5b801e24d5c2d42 (diff) | |
download | chef-75ace978d070f2f8923f40c328ea594cd505cafb.tar.gz |
Style fixes
Fixing rubocop errors found during CI
Diffstat (limited to 'lib/chef/dsl')
-rw-r--r-- | lib/chef/dsl/platform_introspection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/dsl/platform_introspection.rb b/lib/chef/dsl/platform_introspection.rb index 679b702383..4ccdb34981 100644 --- a/lib/chef/dsl/platform_introspection.rb +++ b/lib/chef/dsl/platform_introspection.rb @@ -255,7 +255,7 @@ class Chef # true:: if the current node is a docker container # false:: if the current node is not a docker container def docker?(node) - ::File.exist?('/.dockerinit') || ::File.exist?('/.dockerenv') + ::File.exist?("/.dockerinit") || ::File.exist?("/.dockerenv") end end |