summaryrefslogtreecommitdiff
path: root/lib/chef/dsl/declare_resource.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-19 09:28:33 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-19 09:28:33 -0800
commit92bec4bb96d857f027068fc56af46c76c484fd50 (patch)
tree2cffea3fc9466d0c5e2baa7cc7630abb0ed7aecb /lib/chef/dsl/declare_resource.rb
parent6077b99f6ad1bc9a082f575f3818e69f05d8c8dc (diff)
downloadchef-92bec4bb96d857f027068fc56af46c76c484fd50.tar.gz
flip multiline function arguments aroundlcg/rubocop-0.37.2
no enforced trailing comma on arguments...
Diffstat (limited to 'lib/chef/dsl/declare_resource.rb')
-rw-r--r--lib/chef/dsl/declare_resource.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/dsl/declare_resource.rb b/lib/chef/dsl/declare_resource.rb
index 2e7dc934dc..9a59859d5a 100644
--- a/lib/chef/dsl/declare_resource.rb
+++ b/lib/chef/dsl/declare_resource.rb
@@ -100,7 +100,7 @@ class Chef
run_context: run_context,
cookbook_name: cookbook_name,
recipe_name: recipe_name,
- enclosing_provider: self.is_a?(Chef::Provider) ? self : nil,
+ enclosing_provider: self.is_a?(Chef::Provider) ? self : nil
).build(&resource_attrs_block)
end
end