lib/linner/notifier.rb in linner-0.1.1 vs lib/linner/notifier.rb in linner-0.1.2
- old
+ new
@@ -9,10 +9,10 @@
puts "🍜 : Done in #{'%.3f' % (Time.now - time)}s."
end
def error(message)
puts message = "👻 : #{message}!"
- if Linner.environment.notifications && TerminalNotifier.available?
+ if Linner.environment.notification && TerminalNotifier.available?
TerminalNotifier.notify message, :title => 'Linner'
end
end
def exit