We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de608f6 commit 82fcd4eCopy full SHA for 82fcd4e
packages/@aws-cdk/toolkit-lib/lib/api/notices/cached-data-source.ts
@@ -72,6 +72,7 @@ export class CachedDataSource implements NoticeDataSource {
72
73
private async save(cached: CachedNotices): Promise<void> {
74
try {
75
+ await fs.ensureFile(this.fileName);
76
await fs.writeJSON(this.fileName, cached);
77
} catch (e) {
78
await this.ioHelper.defaults.debug(`Failed to store notices in the cache: ${e}`);
0 commit comments