Added a comment

This commit is contained in:
Luis Alvarez
2020-10-29 19:25:19 -05:00
parent c70a965c7d
commit b06dca4243
2 changed files with 6 additions and 2 deletions

View File

@@ -1,8 +1,12 @@
/**
* The utils here are used to help developers use the example
*/
export function missingLocaleInPages(): [string[], () => void] {
const invalidPaths: string[] = []
const log = () => {
if (invalidPaths.length) {
const single = invalidPaths.length === 0
const single = invalidPaths.length === 1
const pages = single ? 'page' : 'pages'
console.log(