Skip to content

Commit

Permalink
use fs.rmdir maxRetries
Browse files Browse the repository at this point in the history
Co-authored-by: Keeley Hammond <[email protected]>
  • Loading branch information
georgexu99 and VerteDinde committed Aug 8, 2023
1 parent fd708a0 commit 57cc0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/module-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export async function resetTestModule(testModulePath: string, installModules = t
}

export async function cleanupTestModule(testModulePath: string): Promise<void> {
await fs.remove(testModulePath);
await fs.rmdir(testModulePath, { recursive: true, maxRetries: 10 });
resetMSVSVersion();
}

Expand Down

0 comments on commit 57cc0d7

Please sign in to comment.