detect-port-alt
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -101,2 +101,6 @@ 'use strict'; | ||
server.close(); | ||
if (err.code === 'ENOTFOUND') { | ||
debug('ignore dns ENOTFOUND error, get free %s:%s', hostname, port); | ||
return callback(null, port); | ||
} | ||
return callback(err); | ||
@@ -103,0 +107,0 @@ }); |
{ | ||
"name": "detect-port-alt", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "detect available port", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
31499
106