Commit 75a8c031 authored by André Kerkhoff's avatar André Kerkhoff
Browse files

Fix cookstyle task in Rakefile

parent d205a946
......@@ -2,12 +2,12 @@ begin
require 'cookstyle'
require 'rubocop/rake_task'
desc 'Run Ruby style checks'
desc 'Run Cookstyle checks'
RuboCop::RakeTask.new(:cookstyle)
rescue LoadError
desc 'rubocop rake task not available'
task :cookstyle do
abort 'Rubocop/Chefstyle rake task is not available. Be sure to install rubocop and cookstyle'
abort 'Rubocop/Cookstyle rake task is not available. Be sure to install rubocop and cookstyle'
end
end
......@@ -52,4 +52,4 @@ rescue LoadError
end
end
task default: %w(rubocop foodcritic chefspec kitchen:all)
task default: %w(cookstyle chefspec kitchen:all)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment