summaryrefslogtreecommitdiff
path: root/chef-config
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-01-13 10:09:06 +0000
committerThom May <thom@chef.io>2016-01-13 10:09:06 +0000
commit3fa247386be7523a2b488d65dfe35cf753bd9802 (patch)
tree1fa913d87ed22ceb156e4700de2bf2ede0871d60 /chef-config
parent556e5f2d78b5c6de2f34d8dd655ee515ff317296 (diff)
downloadchef-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.rb2
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