fix(core): update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as plugins from './smartexit.plugins';
|
||||
import * as plugins from './smartexit.plugins.js';
|
||||
|
||||
export class SmartExit {
|
||||
public processesToEnd = new plugins.lik.ObjectMap<plugins.childProcess.ChildProcess>();
|
||||
@@ -45,9 +45,9 @@ export class SmartExit {
|
||||
console.log(`ChildProcesses look clean.`);
|
||||
}
|
||||
if (this.cleanupFunctions.getArray.length > 0) {
|
||||
this.cleanupFunctions.forEach(async cleanupFunction => {
|
||||
this.cleanupFunctions.forEach(async (cleanupFunction) => {
|
||||
await cleanupFunction();
|
||||
})
|
||||
});
|
||||
}
|
||||
console.log(`Ready to exit!`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user