From 019cc4937c8c254c639a5e87e320ac61d8941beb Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 14 Oct 2019 09:46:10 +0200 Subject: [PATCH] fix(core): update --- ts/tsdoc.classes.tsdoc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/tsdoc.classes.tsdoc.ts b/ts/tsdoc.classes.tsdoc.ts index 5f66f48..9b073d2 100644 --- a/ts/tsdoc.classes.tsdoc.ts +++ b/ts/tsdoc.classes.tsdoc.ts @@ -53,10 +53,10 @@ export class TsDoc { /** * runs additional tasks from package.json */ - public runAdditionalTasks() { + public async runAdditionalTasks() { const packageJson = plugins.smartfile.fs.toObjectSync(plugins.path.join(this.cwd, 'package.json')); if (packageJson.scripts.tsdoc) { - this.smartshellInstance.exec('npm run tsdoc'); + await this.smartshellInstance.exec('npm run tsdoc'); } } }