Skip to content

Commit

Permalink
bin => bind
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Nov 24, 2015
1 parent 5d9a4f3 commit 1ef99fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/node/pluginHostMain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface IInitData {
};
}

const nativeExit = process.exit.bin(process);
const nativeExit = process.exit.bind(process);
process.exit = function() {
const err = new Error('An extension called process.exit() and this was prevented.');
console.warn((<any>err).stack);
Expand Down

0 comments on commit 1ef99fc

Please sign in to comment.