fix(core): update

This commit is contained in:
Philipp Kunz 2019-10-14 09:46:10 +02:00
parent bd69ae1b4f
commit 019cc4937c

View File

@ -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');
}
}
}