mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
polish
This commit is contained in:
@@ -55,7 +55,7 @@ export interface IInitData {
|
||||
};
|
||||
}
|
||||
|
||||
const nativeExit = process.exit;
|
||||
const nativeExit = process.exit.bin(process);
|
||||
process.exit = function() {
|
||||
const err = new Error('An extension called process.exit() and this was prevented.');
|
||||
console.warn((<any>err).stack);
|
||||
|
||||
Reference in New Issue
Block a user