File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
plugins/core/core/src/software/aws/toolkits/core/utils Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,11 @@ class DefaultRemoteResourceResolver(
3232 private fun internalResolve (resource : RemoteResource ): Path {
3333 val expectedLocation = cacheBasePath.resolve(resource.name)
3434 val current = expectedLocation.existsOrNull()
35- if (current != null && ! isExpired(current, resource)) {
36- LOG .debug { " Existing file ($current ) for ${resource.name} is present and not expired - using it." }
37- return current
35+ if (resource.name != " notifications.json" ) {
36+ if ((current != null && ! isExpired(current, resource))) {
37+ LOG .debug { " Existing file ($current ) for ${resource.name} is present and not expired - using it." }
38+ return current
39+ }
3840 }
3941
4042 LOG .debug { " Current file for ${resource.name} does not exist or is expired. Attempting to fetch from ${resource.urls} " }
You can’t perform that action at this time.
0 commit comments