Skip to content

Commit d89bc91

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 c59d56f commit d89bc91

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
@@ -284,9 +284,7 @@ describe(PnpmOptionsConfiguration.name, () => {
284284
'https://developer.microsoft.com/json-schemas/rush/v5/pnpm-config.schema.json'
285285
);
286286
} finally {
287-
if (FileSystem.exists(testConfigPath)) {
288-
FileSystem.deleteFile(testConfigPath);
289-
}
287+
await FileSystem.deleteFile(testConfigPath);
290288
}
291289
});
292290

0 commit comments

Comments
 (0)