Skip to content

Commit 8018653

Browse files
authoredFeb 4, 2022
calm down Backfill logging (github#25031)
1 parent f9895c6 commit 8018653

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed
 

‎lib/page-data.js

-11
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,6 @@ export async function correctTranslationOrphans(pageList, basePath = null) {
222222
newPageList.push(page)
223223
continue
224224
}
225-
226-
// All else is considered "excess" and should be excluded from
227-
// the new list of pages. So do nothing.
228-
if (process.env.NODE_ENV === 'development') {
229-
console.log(
230-
`For ${page.languageCode}, omit the page ${page.relativePath} even though it's present on disk.`
231-
)
232-
}
233225
}
234226

235227
const pageLoadPromises = []
@@ -262,9 +254,6 @@ export async function correctTranslationOrphans(pageList, basePath = null) {
262254
languageCode: languageCode,
263255
})
264256
)
265-
if (process.env.NODE_ENV === 'development') {
266-
console.log(`Backfill ${relativePath} for ${languageCode} from English`)
267-
}
268257
}
269258
}
270259
}

0 commit comments

Comments
 (0)
Please sign in to comment.