Skip to content

Commit

Permalink
test: fix on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Dec 18, 2022
1 parent 385d7dc commit e96fb10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/indexed-pkg-importer/src/importIndexedDir.ts
Expand Up @@ -125,6 +125,7 @@ async function moveOrMergeModulesDirs (src: string, dest: string) {
// If src directory doesn't exist, there is nothing to do
return
case 'ENOTEMPTY':
case 'EPERM': // This error code is thrown on Windows
await mergeModulesDirs(src, dest)
return
default:
Expand Down

0 comments on commit e96fb10

Please sign in to comment.