fix(core): update
This commit is contained in:
parent
bd69ae1b4f
commit
019cc4937c
@ -53,10 +53,10 @@ export class TsDoc {
|
|||||||
/**
|
/**
|
||||||
* runs additional tasks from package.json
|
* runs additional tasks from package.json
|
||||||
*/
|
*/
|
||||||
public runAdditionalTasks() {
|
public async runAdditionalTasks() {
|
||||||
const packageJson = plugins.smartfile.fs.toObjectSync(plugins.path.join(this.cwd, 'package.json'));
|
const packageJson = plugins.smartfile.fs.toObjectSync(plugins.path.join(this.cwd, 'package.json'));
|
||||||
if (packageJson.scripts.tsdoc) {
|
if (packageJson.scripts.tsdoc) {
|
||||||
this.smartshellInstance.exec('npm run tsdoc');
|
await this.smartshellInstance.exec('npm run tsdoc');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user