diff --git a/lib/foodcritic/rake_task.rb b/lib/foodcritic/rake_task.rb
index <HASH>..<HASH> 100644
--- a/lib/foodcritic/rake_task.rb
+++ b/lib/foodcritic/rake_task.rb
@@ -24,8 +24,11 @@ module FoodCritic
         desc "Lint Chef cookbooks"
         task(name) do
           result = FoodCritic::Linter.new.check(files, options)
-          puts result
-          fail if result.failed?
+          if result.warnings.any?
+            puts result
+          end
+
+          fail result.to_s if result.failed?
         end
       end
Reduce unnecessary blank lines from console output if there's nothing to print.

We only print the food critic reviews if there's a warning and fail with a proper message if there's any.