From 86272f95be459bcbbece82fb988f147b6e2fbe65 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Tue, 12 Jul 2022 14:32:00 -0700 Subject: [PATCH] Fix ghostbuster script (#61213) --- scripts/ghostbuster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ghostbuster.js b/scripts/ghostbuster.js index 30f58c6eb2..be1a0bd6a4 100644 --- a/scripts/ghostbuster.js +++ b/scripts/ghostbuster.js @@ -69,7 +69,7 @@ function getAllHeaders() { parsed = hp.parseHeaderOrFail(indexContent); } catch (e) {} if (parsed) { - headers[/** @type {never} */ (index)] = { ...parsed, raw: indexContent }; + headers[index.pathname] = { ...parsed, raw: indexContent }; } } });