You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// On Windows, antivirus/indexer can transiently lock files, causing EPERM/EACCES/EBUSY on the rename inside write-file-atomic (used by bin-links/fix-bin.js), so, retry with backoff.
386
+
constp=promiseRetry((retry)=>binLinks({
409
387
pkg: node.package,
410
388
path: node.path,
411
389
top: !!(node.isTop||node.globalTop),
412
390
force: this.options.force,
413
391
global: !!node.globalTop,
414
-
}).catch(/* istanbul ignore next - Windows retry for antivirus locks */err=>{
392
+
}).catch(/* istanbul ignore next - Windows-only transient antivirus locks */err=>{
0 commit comments