Skip to content

Commit 0d53e16

Browse files
benkeeniclanton
andauthored
Update libraries/rush-lib/src/logic/pnpm/test/PnpmOptionsConfiguration.test.ts
Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
1 parent be9eabd commit 0d53e16

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
@@ -165,9 +165,7 @@ describe(PnpmOptionsConfiguration.name, () => {
165165
expect(TestUtilities.stripAnnotations(reloadedConfig.globalCatalogs)).toEqual(updatedCatalogs);
166166
} finally {
167167
// Clean up
168-
if (FileSystem.exists(testConfigPath)) {
169-
FileSystem.deleteFile(testConfigPath);
170-
}
168+
await FileSystem.deleteFileAsync(testConfigPath);
171169
}
172170
});
173171

0 commit comments

Comments
 (0)