fix(core): update

This commit is contained in:
Philipp Kunz 2019-10-14 12:59:25 +02:00
parent e05a24b39b
commit faf7a774c5

View File

@ -22,8 +22,12 @@ export class TypeDoc {
}
public async compile() {
let tsDir: 'ts' | 'ts_web';
plugins.smartfile.fs.isDirectory(plugins.path.join(this.typedocDirectory, 'ts')) ? tsDir = 'ts' : null;
plugins.smartfile.fs.isDirectory(plugins.path.join(this.typedocDirectory, 'ts_web')) ? tsDir = 'ts_web' : null;
await this.smartshellInstance.exec(
`typedoc --tsconfig ${paths.tsconfigFile} --out public/ ts/`
`typedoc --tsconfig ${paths.tsconfigFile} --out public/ ${tsDir}`
);
}
}