Skip to content

Commit

Permalink
Merge pull request #31 from Shahnawaz-Sk/spacefix
Browse files Browse the repository at this point in the history
stackTrace fix
  • Loading branch information
Shivanshu-lambdatest authored Apr 11, 2023
2 parents af8ce64 + 8051262 commit cdc9d38
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 105 deletions.
4 changes: 2 additions & 2 deletions lib/tunnel_binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function TunnelBinary(httpTunnelConfig, options) {
// Throw error Error: spawn ETXTBSY sometime. As unzip completion not release binary file.
setTimeout(function() {
fs.rename(unzipBinaryPath, destBinaryPath, function(err) {
if (err) console.error('Got Error while rename binary zip', err);
// if (err) console.error('Got Error while rename binary zip', err);
fs.chmod(destBinaryPath, '0755', function() {
return fnCallback(destBinaryPath);
});
Expand Down Expand Up @@ -255,7 +255,7 @@ function TunnelBinary(httpTunnelConfig, options) {
fs.accessSync(path, mode);
return true;
} catch (e) {
console.log('Error checkPath ----->', e);
// console.log('Error checkPath ----->', e);
if (typeof fs.accessSync !== 'undefined') {
return false;
}
Expand Down
Loading

0 comments on commit cdc9d38

Please sign in to comment.