node-notifier
Advanced tools
Comparing version 2.0.0-alpha to 2.0.1
@@ -33,2 +33,3 @@ /** | ||
var app = this.app; | ||
var that = this; | ||
options = options || {}; | ||
@@ -48,6 +49,11 @@ callback = callback || function () {}; | ||
if (!success) { | ||
return callback(err); | ||
if (!that.hasError) { | ||
that.hasError = true; | ||
callback(err); | ||
} | ||
return false; | ||
} | ||
this.isRegistered = true; | ||
that.isRegistered = true; | ||
that.hasError = false; | ||
doNotification(app, options, callback); | ||
@@ -54,0 +60,0 @@ }); |
{ | ||
"name": "node-notifier", | ||
"version": "2.0.0-alpha", | ||
"version": "2.0.1", | ||
"description": "A Node.js module for sending notifications on mac, windows and linux", | ||
@@ -31,2 +31,2 @@ "main": "index.js", | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
451814
383
1