We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e2b7c3 commit e5852b2Copy full SHA for e5852b2
server/eslintServer.ts
@@ -861,16 +861,6 @@ function getFilePath(documentOrUri: string | TextDocument | URI | undefined): st
861
return getFileSystemPath(uri)
862
}
863
864
-const exitCalled = new NotificationType<[number, string]>('eslint/exitCalled')
865
-
866
-const nodeExit = process.exit
867
-process.exit = ((code?: number): void => {
868
- const stack = new Error('stack')
869
- connection.sendNotification(exitCalled, [code ? code : 0, stack.stack])
870
- setTimeout(() => {
871
- nodeExit(code)
872
- }, 1000)
873
-}) as any
874
process.on('uncaughtException', (error: any) => {
875
let message: string | undefined
876
if (error) {
0 commit comments