Skip to content

Commit c20e2c4

Browse files
authored
chore: make does-not-exist.json actually not exist (#20986)
Somehow this file got checked in. Remove it. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 4a5deec commit c20e2c4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/aws-cdk/does-not-exist.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/aws-cdk/test/notices.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,10 @@ describe('cli notices', () => {
325325
expect(debugSpy).not.toHaveBeenCalled();
326326

327327
debugSpy.mockRestore();
328+
329+
if (fs.existsSync('does-not-exist.json')) {
330+
fs.unlinkSync('does-not-exist.json');
331+
}
328332
});
329333

330334
test('retrieved data from the delegate when it is configured to ignore the cache', async () => {

0 commit comments

Comments
 (0)