build(docs-infra): upgrade preview server to latest @types/shelljs
(#24372)
PR Close #24372
This commit is contained in:

committed by
Miško Hevery

parent
29eb24b142
commit
ea143e7498
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user