Updating NPM dependencies
This commit is contained in:
4
node_modules/node-notifier/lib/checkGrowl.js
generated
vendored
4
node_modules/node-notifier/lib/checkGrowl.js
generated
vendored
@@ -12,12 +12,12 @@ module.exports = function(growlConfig, cb) {
|
||||
var socket = net.connect(port, host);
|
||||
socket.setTimeout(100);
|
||||
|
||||
socket.on('connect', function() {
|
||||
socket.once('connect', function() {
|
||||
socket.end();
|
||||
cb(null, true);
|
||||
});
|
||||
|
||||
socket.on('error', function() {
|
||||
socket.once('error', function() {
|
||||
socket.end();
|
||||
cb(null, false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user