Skip to content

Commit aa034b8

Browse files
committed
fixup! fix(docs-infra): print info to help debugging SW cache issue
1 parent b176edb commit aa034b8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

aio/src/app/layout/doc-viewer/doc-viewer.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ async function printSwDebugInfo(): Promise<void> {
279279

280280
// Internal helpers
281281
async function findCachesAndPrintEntries(
282-
swCacheNames: string[], nameSuffix: string, includeValues = false,
282+
swCacheNames: string[], nameSuffix: string, includeValues: boolean,
283283
ignoredKeys: string[] = []): Promise<void> {
284284
const cacheNames = swCacheNames.filter(name => name.endsWith(nameSuffix));
285285

@@ -290,7 +290,7 @@ async function printSwDebugInfo(): Promise<void> {
290290
}
291291

292292
async function getCacheEntries(
293-
name: string, includeValues = false,
293+
name: string, includeValues: boolean,
294294
ignoredKeys: string[] = []): Promise<{key: string, value?: object}[]> {
295295
const ignoredUrls = new Set(ignoredKeys.map(key => new Request(key).url));
296296

goldens/size-tracking/aio-payloads.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"master": {
44
"uncompressed": {
55
"runtime-es2015": 3033,
6-
"main-es2015": 450959,
6+
"main-es2015": 450953,
77
"polyfills-es2015": 52343
88
}
99
}
@@ -12,7 +12,7 @@
1212
"master": {
1313
"uncompressed": {
1414
"runtime-es2015": 3033,
15-
"main-es2015": 451408,
15+
"main-es2015": 451402,
1616
"polyfills-es2015": 52493
1717
}
1818
}
@@ -21,7 +21,7 @@
2121
"master": {
2222
"uncompressed": {
2323
"runtime-es2015": 3153,
24-
"main-es2015": 437011,
24+
"main-es2015": 437005,
2525
"polyfills-es2015": 52493
2626
}
2727
}

0 commit comments

Comments
 (0)