Skip to content

Commit 88b3000

Browse files
benkeeniclanton
authored andcommitted
Update libraries/rush-lib/src/logic/pnpm/test/PnpmOptionsConfiguration.test.ts
Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
1 parent 073c2b6 commit 88b3000

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

libraries/rush-lib/src/logic/pnpm/test/PnpmOptionsConfiguration.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ describe(PnpmOptionsConfiguration.name, () => {
201201

202202
expect(reloadedConfig.globalCatalogs).toBeUndefined();
203203
} finally {
204-
if (FileSystem.exists(testConfigPath)) {
205-
FileSystem.deleteFile(testConfigPath);
206-
}
204+
await FileSystem.deleteFileAsync(testConfigPath);
207205
}
208206
});
209207
});

0 commit comments

Comments
 (0)