summaryrefslogtreecommitdiff
path: root/lib/chef/dsl
diff options
context:
space:
mode:
authorAndrew Brown <andrew.brown@shopify.com>2016-05-30 12:18:56 -0400
committerAndrew Brown <andrew.brown@shopify.com>2016-05-30 12:22:35 -0400
commit75ace978d070f2f8923f40c328ea594cd505cafb (patch)
tree31129c597e82391caedaa71e573be89d397c7ff4 /lib/chef/dsl
parentd8014435565ce81b961dde09b5b801e24d5c2d42 (diff)
downloadchef-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.rb2
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