Skip to content

Commit

Permalink
on unsupported platforms warn stderr, no raise
Browse files Browse the repository at this point in the history
this way cucumber specs will not fail on platforms
that dont support the terminal-notifier gem.
  • Loading branch information
mgrosso committed Sep 4, 2012
1 parent 60bd116 commit d48f0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ruby/lib/terminal-notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def self.execute(verbose, options)
end
result
else
raise "terminal-notifier is only supported on Mac OS X 10.8, or higher."
STDERR.puts "Warning: terminal-notifier is only supported on Mac OS X 10.8, or higher."
end
end

Expand Down

0 comments on commit d48f0b6

Please sign in to comment.