summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2018-06-05 21:07:20 -0700
committerNoah Kantrowitz <noah@coderanger.net>2018-06-05 21:07:20 -0700
commit10f56708961275efda83018d1177a9c47f315970 (patch)
tree06c1dddf14fb8094cfaa18c53f4bd9f11fd1211a
parent203b08211c9738fcf1f01d59054f9db93aea5298 (diff)
downloadchef-10f56708961275efda83018d1177a9c47f315970.tar.gz
Wrong indentation snuck in.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
-rw-r--r--lib/chef/resource.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb
index 239c4ddc68..e419801311 100644
--- a/lib/chef/resource.rb
+++ b/lib/chef/resource.rb
@@ -1172,9 +1172,9 @@ class Chef
# the value of the flag.
# @return [Boolean]
def self.preview_resource(value=nil)
- @preview_resource = false unless defined?(@preview_resource)
- @preview_resource = value unless value.nil?
- @preview_resource
+ @preview_resource = false unless defined?(@preview_resource)
+ @preview_resource = value unless value.nil?
+ @preview_resource
end
#