Skip to content

Commit c59d56f

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 88b3000 commit c59d56f

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
@@ -245,9 +245,7 @@ describe(PnpmOptionsConfiguration.name, () => {
245245

246246
expect(TestUtilities.stripAnnotations(reloadedConfig.globalCatalogs)).toEqual(updatedCatalogs);
247247
} finally {
248-
if (FileSystem.exists(testConfigPath)) {
249-
FileSystem.deleteFile(testConfigPath);
250-
}
248+
await FileSystem.deleteFile(testConfigPath);
251249
}
252250
});
253251

0 commit comments

Comments
 (0)