build(docs-infra): upgrade preview server to latest @types/shelljs (#24372)

PR Close #24372
This commit is contained in:
George Kalpakas
2018-06-08 12:55:15 +03:00
committed by Miško Hevery
parent 0139173c7c
commit 18c4976f3b
5 changed files with 7 additions and 10 deletions

View File

@ -106,8 +106,7 @@ export class BuildCreator extends EventEmitter {
}
try {
// Undocumented signature (see https://github.com/shelljs/shelljs/pull/663).
(shell as any).chmod('-R', 'a-w', outputDir);
shell.chmod('-R', 'a-w', outputDir);
shell.rm('-f', inputFile);
resolve();
} catch (err) {