fix(core): update
This commit is contained in:
parent
02ff220c59
commit
6e6cfbadbd
@ -43,11 +43,11 @@ export class TapTools {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async checkIterationLeak(iterationfuncArg: IPromiseFunc) {
|
public async checkIterationLeak(iterationfuncArg: IPromiseFunc) {
|
||||||
if (process.version.startsWith('v11')) {
|
if (process.version.startsWith('v11')) {
|
||||||
console.log('iteration leakage checks disabled for now on version 11 due to low performance');
|
console.log('iteration leakage checks disabled for now on version 11 due to low performance');
|
||||||
} else {
|
} else {
|
||||||
await plugins.leakage.iterate.async(iterationfuncArg);
|
await plugins.leakage.iterate.async(iterationfuncArg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public async returnError(throwingFuncArg: IPromiseFunc) {
|
public async returnError(throwingFuncArg: IPromiseFunc) {
|
||||||
@ -60,7 +60,7 @@ export class TapTools {
|
|||||||
return funcErr;
|
return funcErr;
|
||||||
}
|
}
|
||||||
|
|
||||||
public defer () {
|
public defer() {
|
||||||
return plugins.smartpromise.defer();
|
return plugins.smartpromise.defer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user