fix(core): update

This commit is contained in:
2019-08-22 23:57:27 +02:00
parent c3ae0bc211
commit 8d5352d000
5 changed files with 65 additions and 99 deletions

View File

@ -43,11 +43,7 @@ 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);
}
console.log('iteration leakage checks disabled for now due to incompatibilities with node v12');
}
public async returnError(throwingFuncArg: IPromiseFunc) {

View File

@ -6,6 +6,6 @@ import * as smartpromise from '@pushrocks/smartpromise';
export { early, smartdelay, smartpromise };
// third party
import * as leakage from 'leakage';
/* import * as leakage from 'leakage';
export { leakage };
export { leakage }; */