Skip to content

Commit cdc9d38

Browse files
Merge pull request #31 from Shahnawaz-Sk/spacefix
stackTrace fix
2 parents af8ce64 + 8051262 commit cdc9d38

File tree

3 files changed

+156
-105
lines changed

3 files changed

+156
-105
lines changed

lib/tunnel_binary.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function TunnelBinary(httpTunnelConfig, options) {
155155
// Throw error Error: spawn ETXTBSY sometime. As unzip completion not release binary file.
156156
setTimeout(function() {
157157
fs.rename(unzipBinaryPath, destBinaryPath, function(err) {
158-
if (err) console.error('Got Error while rename binary zip', err);
158+
// if (err) console.error('Got Error while rename binary zip', err);
159159
fs.chmod(destBinaryPath, '0755', function() {
160160
return fnCallback(destBinaryPath);
161161
});
@@ -255,7 +255,7 @@ function TunnelBinary(httpTunnelConfig, options) {
255255
fs.accessSync(path, mode);
256256
return true;
257257
} catch (e) {
258-
console.log('Error checkPath ----->', e);
258+
// console.log('Error checkPath ----->', e);
259259
if (typeof fs.accessSync !== 'undefined') {
260260
return false;
261261
}

0 commit comments

Comments
 (0)