Skip to content

Commit 5365dfb

Browse files
committed
one line
1 parent 995765b commit 5365dfb

File tree

1 file changed

+1
-1
lines changed
  • packages/@aws-cdk/toolkit-lib/lib/api/notices

1 file changed

+1
-1
lines changed

packages/@aws-cdk/toolkit-lib/lib/api/notices/notices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export class Notices {
157157
public async refresh(options: NoticesRefreshOptions = {}) {
158158
const innerDataSource = options.dataSource ?? new WebsiteNoticeDataSource(this.ioHelper, {
159159
...this.httpOptions,
160-
skipNetworkCache: options.force,
160+
skipNetworkCache: options.force ?? false,
161161
});
162162
const dataSource = new CachedDataSource(this.ioHelper, CACHE_FILE_PATH, innerDataSource, options.force ?? false);
163163
const notices = await dataSource.fetch();

0 commit comments

Comments
 (0)