diff --git a/package.json b/package.json index 93e54b3..a372e9b 100644 --- a/package.json +++ b/package.json @@ -35,4 +35,4 @@ "tslint": "^5.15.0", "tslint-config-prettier": "^1.18.0" } -} +} \ No newline at end of file diff --git a/ts/tapbundle.classes.taptools.ts b/ts/tapbundle.classes.taptools.ts index a97e83b..6276dd1 100644 --- a/ts/tapbundle.classes.taptools.ts +++ b/ts/tapbundle.classes.taptools.ts @@ -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(); } }