fix(core): update

This commit is contained in:
Philipp Kunz 2019-04-10 12:56:55 +02:00
parent 02ff220c59
commit 6e6cfbadbd
2 changed files with 7 additions and 7 deletions

View File

@ -43,11 +43,11 @@ export class TapTools {
}
public async checkIterationLeak(iterationfuncArg: IPromiseFunc) {
if (process.version.startsWith('v11')) {
console.log('iteration leakage checks disabled for now on version 11 due to low performance');
} else {
await plugins.leakage.iterate.async(iterationfuncArg);
}
if (process.version.startsWith('v11')) {
console.log('iteration leakage checks disabled for now on version 11 due to low performance');
} else {
await plugins.leakage.iterate.async(iterationfuncArg);
}
}
public async returnError(throwingFuncArg: IPromiseFunc) {
@ -60,7 +60,7 @@ export class TapTools {
return funcErr;
}
public defer () {
public defer() {
return plugins.smartpromise.defer();
}
}