Skip to content

Commit cb81cce

Browse files
committed
Add OS check to notifier
1 parent 78a8208 commit cb81cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/notifier.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def self.notify(msg, options = {})
1111
end
1212

1313
def self.is_support
14-
TerminalNotifier.available?
14+
org.jruby.platform.Platform::IS_MAC && TerminalNotifier.available?
1515
end
1616

1717
end

0 commit comments

Comments
 (0)