diff --git a/Rakefile b/Rakefile index 9e7e4091..6c109d6b 100644 --- a/Rakefile +++ b/Rakefile @@ -29,8 +29,8 @@ namespace :benchmark do desc "Testin'" task :run do reference, compare = ENV['compare'].split('...') - puts "Comparing #{reference}...#{current}" - puts "Unstaged changes" and return if git.status.changed.any? + puts "Comparing #{reference}...#{compare}" + abort("Unstaged changes") if git.status.changed.any? # Get the current branch # Would like to get this from the Git gem