mirror of
https://github.com/actions/setup-node.git
synced 2025-12-14 00:16:35 +08:00
Dont fail on not being able to unlink
This commit is contained in:
@@ -37,8 +37,12 @@ describe('installer tests', () => {
|
||||
}, 100000);
|
||||
|
||||
afterAll(async () => {
|
||||
await io.rmRF(toolDir);
|
||||
await io.rmRF(tempDir);
|
||||
try {
|
||||
await io.rmRF(toolDir);
|
||||
await io.rmRF(tempDir);
|
||||
} finally {
|
||||
console.log('Failed to remove test directories');
|
||||
}
|
||||
}, 100000);
|
||||
|
||||
it('Acquires version of node if no matching version is installed', async () => {
|
||||
|
||||
Reference in New Issue
Block a user