Compare commits

...

2 Commits

Author SHA1 Message Date
e05a24b39b 1.0.23 2019-10-14 09:46:11 +02:00
019cc4937c fix(core): update 2019-10-14 09:46:10 +02:00
3 changed files with 4 additions and 4 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsdoc", "name": "@gitzone/tsdoc",
"version": "1.0.22", "version": "1.0.23",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsdoc", "name": "@gitzone/tsdoc",
"version": "1.0.22", "version": "1.0.23",
"private": false, "private": false,
"description": "a tool for better documentation", "description": "a tool for better documentation",
"main": "dist/index.js", "main": "dist/index.js",

View File

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