mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix hygiene errors (#8019)
This commit is contained in:
@@ -75,7 +75,7 @@ export function executeStreamedCommand(cmd: string, options: childProcess.SpawnO
|
|||||||
if (code === 0) {
|
if (code === 0) {
|
||||||
resolve();
|
resolve();
|
||||||
} else {
|
} 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));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ export class PerFolderServerInstance implements IServerInstance {
|
|||||||
let onErrorBeforeStartup = (err: any) => reject(err);
|
let onErrorBeforeStartup = (err: any) => reject(err);
|
||||||
let onExitBeforeStart = (err: any) => {
|
let onExitBeforeStart = (err: any) => {
|
||||||
if (!this.isStarted) {
|
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);
|
this.childProcess.on('error', onErrorBeforeStartup);
|
||||||
|
|||||||
Reference in New Issue
Block a user