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 29eb24b142
commit ea143e7498
5 changed files with 7 additions and 10 deletions

View File

@ -98,8 +98,7 @@ class Helper {
const prDir = this.getPrDir(pr, isPublic);
if (fs.existsSync(prDir)) {
// Undocumented signature (see https://github.com/shelljs/shelljs/pull/663).
(shell as any).chmod('-R', 'a+w', prDir);
shell.chmod('-R', 'a+w', prDir);
shell.rm('-rf', prDir);
}
}