summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-01-14 11:59:12 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-01-14 11:59:12 -0800
commit150f381ecc81e108c2a4d7368de82ddf729994ed (patch)
treeb310d236e56f14c61c54fc65d591a74800036ed8 /Rakefile
parent396793867a801a82604adb1ab27bbd6f8eb065c5 (diff)
downloadchef-150f381ecc81e108c2a4d7368de82ddf729994ed.tar.gz
rescue the right exceptionlcg/optional-chefstyle
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index f6d23b1908..b80dd9a846 100644
--- a/Rakefile
+++ b/Rakefile
@@ -52,7 +52,7 @@ begin
RuboCop::RakeTask.new(:style) do |task|
task.options += ["--display-cop-names", "--no-color"]
end
-rescue
+rescue LoadError
puts "chefstyle/rubocop is not available. gem install chefstyle to do style checking."
end