fix(core): update

This commit is contained in:
2019-04-08 15:39:17 +02:00
parent 904309564a
commit 77ad483a8a
5 changed files with 311 additions and 314 deletions

View File

@@ -1,5 +1,5 @@
import * as plugins from './smartspawn.plugins';
import * as smartq from 'smartq';
import * as smartpromise from '@pushrocks/smartpromise';
import * as childProcess from 'child_process';
import { workerBasePath } from './smartspawn.classes.thread';
@@ -20,7 +20,7 @@ export class ThreadSimple {
}
run() {
let done = smartq.defer<childProcess.ChildProcess>();
let done = smartpromise.defer<childProcess.ChildProcess>();
let forkPath = (() => {
if (workerBasePath) {
return plugins.path.join(workerBasePath, this.workerPath);