set-global-proxy
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -69,8 +69,12 @@ var cp = require('child_process'); | ||
exec(getScript(), function(err, stdout) { | ||
result.http = typeof stdout === 'string' ? parseServer(stdout) : ''; | ||
handleCallback(err); | ||
if (result) { | ||
result.http = typeof stdout === 'string' ? parseServer(stdout) : ''; | ||
handleCallback(err); | ||
} | ||
}); | ||
exec(getScript(true), function(err, stdout) { | ||
result.https = typeof stdout === 'string' ? parseServer(stdout) : ''; | ||
handleCallback(err); | ||
if (result) { | ||
result.https = typeof stdout === 'string' ? parseServer(stdout) : ''; | ||
handleCallback(err); | ||
} | ||
}); | ||
@@ -77,0 +81,0 @@ }; |
{ | ||
"name": "set-global-proxy", | ||
"description": "Set global proxy for PC", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"author": "avenwu <avenwu@vip.qq.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [], |
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
120861
310