Fix hygiene errors (#8019)

This commit is contained in:
Charles Gagnon
2019-10-27 14:38:26 -07:00
committed by GitHub
parent bd15a96b83
commit 833adf3515
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ export function executeStreamedCommand(cmd: string, options: childProcess.SpawnO
if (code === 0) {
resolve();
} else {
reject(localize('executeCommandProcessExited', 'Process exited with with error code: {0}. StdErr Output: {1}', code, stdErrLog));
reject(localize('executeCommandProcessExited', "Process exited with with error code: {0}. StdErr Output: {1}", code, stdErrLog));
}
});

View File

@@ -260,7 +260,7 @@ export class PerFolderServerInstance implements IServerInstance {
let onErrorBeforeStartup = (err: any) => reject(err);
let onExitBeforeStart = (err: any) => {
if (!this.isStarted) {
reject(localize('notebookStartProcessExitPremature', 'Notebook process exited prematurely with error code: {0}. StdErr Output: {1}', err, stdErrLog));
reject(localize('notebookStartProcessExitPremature', "Notebook process exited prematurely with error code: {0}. StdErr Output: {1}", err, stdErrLog));
}
};
this.childProcess.on('error', onErrorBeforeStartup);