File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ function canCreateSymLink() {
401401 'System32' , 'whoami.exe' ) ;
402402
403403 try {
404- const output = execSync ( `${ whoamiPath } /priv` , { timout : 1000 } ) ;
404+ const output = execSync ( `${ whoamiPath } /priv` , { timeout : 1000 } ) ;
405405 return output . includes ( 'SeCreateSymbolicLinkPrivilege' ) ;
406406 } catch {
407407 return false ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ function rimrafSync(pathname, { spawn = true } = {}) {
2828 if ( spawn && process . platform === 'win32' && st . isDirectory ( ) ) {
2929 try {
3030 // Try `rmdir` first.
31- execSync ( `rmdir /q /s ${ pathname } ` , { timout : 1000 } ) ;
31+ execSync ( `rmdir /q /s ${ pathname } ` , { timeout : 1000 } ) ;
3232 } catch ( e ) {
3333 // Attempt failed. Log and carry on.
3434 debug ( e ) ;
You can’t perform that action at this time.
0 commit comments