Skip to content

Commit ec262a2

Browse files
07souravkundafrancisf
authored andcommitted
fix linting
1 parent dd2812e commit ec262a2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

lib/LocalBinary.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function LocalBinary(){
6767

6868
let cmd, opts;
6969
cmd = 'node';
70-
opts = [path.join(__dirname, 'download.js'), binaryPath, this.httpPath]
70+
opts = [path.join(__dirname, 'download.js'), binaryPath, this.httpPath];
7171
if(conf.proxyHost && conf.proxyPort) {
7272
opts.push(conf.proxyHost, conf.proxyPort);
7373
}
@@ -85,7 +85,7 @@ function LocalBinary(){
8585
}
8686
} else if(obj.stderr.length > 0) {
8787
output = Buffer.from(JSON.parse(JSON.stringify(obj.stderr)).data).toString();
88-
console.error(output)
88+
console.error(output);
8989
return that.retryBinaryDownload(conf, destParentDir, null, retries, binaryPath);
9090
}
9191
} catch(err) {

lib/download.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
const https = require('https'),
2-
fs = require('fs'),
3-
path = require('path'),
4-
HttpsProxyAgent = require('https-proxy-agent'),
5-
url = require('url');
2+
fs = require('fs'),
3+
HttpsProxyAgent = require('https-proxy-agent'),
4+
url = require('url');
65

76
const binaryPath = process.argv[2],httpPath = process.argv[3], proxyHost = process.argv[4], proxyPort = process.argv[5];
87

0 commit comments

Comments
 (0)