diff --git a/src/CheckForUpdateProcess.ts b/src/CheckForUpdateProcess.ts index a47b4c8cc..ec74f6e34 100644 --- a/src/CheckForUpdateProcess.ts +++ b/src/CheckForUpdateProcess.ts @@ -44,7 +44,7 @@ process.on } } ); -process.on("uncaughtException",function(err : string){ +(process as NodeJS.EventEmitter).on("uncaughtException",function(err : string){ console.log(err); flags.done = true; flags.failure = true;