diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2018-06-05 21:07:20 -0700 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2018-06-05 21:07:20 -0700 |
commit | 10f56708961275efda83018d1177a9c47f315970 (patch) | |
tree | 06c1dddf14fb8094cfaa18c53f4bd9f11fd1211a /lib/chef/resource.rb | |
parent | 203b08211c9738fcf1f01d59054f9db93aea5298 (diff) | |
download | chef-10f56708961275efda83018d1177a9c47f315970.tar.gz |
Wrong indentation snuck in.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'lib/chef/resource.rb')
-rw-r--r-- | lib/chef/resource.rb | 6 |
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 # |