fix(core): update
This commit is contained in:
parent
e05a24b39b
commit
faf7a774c5
@ -22,8 +22,12 @@ export class TypeDoc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async compile() {
|
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(
|
await this.smartshellInstance.exec(
|
||||||
`typedoc --tsconfig ${paths.tsconfigFile} --out public/ ts/`
|
`typedoc --tsconfig ${paths.tsconfigFile} --out public/ ${tsDir}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user