Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Jul 2, 2021
1 parent b03312b commit b8f9937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby/src/commands/build-html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const renderHTMLQueue = async (
payload: pageSegment,
})

for (const [, arrayOfUsages] of Object.entries(
for (const [_pagePath, arrayOfUsages] of Object.entries(
htmlRenderMeta.unsafeBuiltinsUsageByPagePath
)) {
for (const unsafeUsageStack of arrayOfUsages) {
Expand All @@ -249,7 +249,7 @@ const renderHTMLQueue = async (
})
} catch (e) {
if (e?.context?.unsafeBuiltinsUsageByPagePath) {
for (const [, arrayOfUsages] of Object.entries(
for (const [_pagePath, arrayOfUsages] of Object.entries(
e.context.unsafeBuiltinsUsageByPagePath
)) {
// @ts-ignore TS doesn't know arrayOfUsages is Iterable
Expand Down

0 comments on commit b8f9937

Please sign in to comment.