Skip to content

Commit fa9b039

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 fe4d784 commit fa9b039

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
@@ -315,9 +315,7 @@ describe(PnpmOptionsConfiguration.name, () => {
315315
);
316316
expect(savedConfigJson.globalOnlyBuiltDependencies).toBeUndefined();
317317
} finally {
318-
if (FileSystem.exists(testConfigPath)) {
319-
FileSystem.deleteFile(testConfigPath);
320-
}
318+
await FileSystem.deleteFileAsync(testConfigPath);
321319
}
322320
});
323321
});

0 commit comments

Comments
 (0)