Fix linter errors

This commit is contained in:
Antonio Scandurra
2019-06-06 10:38:13 +02:00
parent e0e004604d
commit 67e101d2cd

View File

@@ -283,11 +283,11 @@ module.exports = class AtomApplication extends EventEmitter {
// We need to do this because `listenForArgumentsFromNewProcess()` calls `crypto.randomBytes`,
// which is really slow on Windows machines.
// (TodoElectronIssue: This got fixed in electron v3: https://github.com/electron/electron/issues/2073).
let socketServerPromise
let socketServerPromise;
if (options.test || options.benchmark || options.benchmarkTest) {
socketServerPromise = Promise.resolve()
socketServerPromise = Promise.resolve();
} else {
socketServerPromise = this.listenForArgumentsFromNewProcess()
socketServerPromise = this.listenForArgumentsFromNewProcess();
}
this.setupDockMenu();