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() {
401
401
'System32' , 'whoami.exe' ) ;
402
402
403
403
try {
404
- const output = execSync ( `${ whoamiPath } /priv` , { timout : 1000 } ) ;
404
+ const output = execSync ( `${ whoamiPath } /priv` , { timeout : 1000 } ) ;
405
405
return output . includes ( 'SeCreateSymbolicLinkPrivilege' ) ;
406
406
} catch {
407
407
return false ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ function rimrafSync(pathname, { spawn = true } = {}) {
28
28
if ( spawn && process . platform === 'win32' && st . isDirectory ( ) ) {
29
29
try {
30
30
// Try `rmdir` first.
31
- execSync ( `rmdir /q /s ${ pathname } ` , { timout : 1000 } ) ;
31
+ execSync ( `rmdir /q /s ${ pathname } ` , { timeout : 1000 } ) ;
32
32
} catch ( e ) {
33
33
// Attempt failed. Log and carry on.
34
34
debug ( e ) ;
You can’t perform that action at this time.
0 commit comments