We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96301c1 commit 8ce2fd0Copy full SHA for 8ce2fd0
packages/cli-repl/test/e2e.spec.ts
@@ -415,7 +415,13 @@ describe('e2e', function() {
415
416
afterEach(async() => {
417
await TestShell.killall();
418
- await promisify(rimraf)(homedir);
+ try {
419
+ await promisify(rimraf)(homedir);
420
+ } catch (err) {
421
+ // On Windows in CI, this can fail with EPERM for some reason.
422
+ // If it does, just log the error instead of failing all tests.
423
+ console.error('Could not remove fake home directory:', err);
424
+ }
425
});
426
427
describe('config file', async() => {
0 commit comments