diff options
author | Thom May <thom@chef.io> | 2016-01-13 10:09:06 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-01-13 10:09:06 +0000 |
commit | 3fa247386be7523a2b488d65dfe35cf753bd9802 (patch) | |
tree | 1fa913d87ed22ceb156e4700de2bf2ede0871d60 /chef-config | |
parent | 556e5f2d78b5c6de2f34d8dd655ee515ff317296 (diff) | |
download | chef-3fa247386be7523a2b488d65dfe35cf753bd9802.tar.gz |
Correct uses of fail to raisetm/fix_fail
Style/SignalException - 3
Diffstat (limited to 'chef-config')
-rw-r--r-- | chef-config/lib/chef-config/package_task.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/package_task.rb b/chef-config/lib/chef-config/package_task.rb index 0aa063a2ff..2e9b36d939 100644 --- a/chef-config/lib/chef-config/package_task.rb +++ b/chef-config/lib/chef-config/package_task.rb @@ -105,7 +105,7 @@ module ChefConfig end def define - fail 'Need to provide package root and module name' if root_path.nil? || module_name.nil? + raise 'Need to provide package root and module name' if root_path.nil? || module_name.nil? desc 'Build Gems of component dependencies' task :package_components do |