Removed comment
This commit is contained in:
parent
52e7e71a5c
commit
e27657be6b
1 changed files with 2 additions and 2 deletions
|
|
@ -15,10 +15,10 @@ export const getFileNameOfLang = (dir, fileName, ext, lang) => {
|
|||
const fallback = getFallbackLang(lang);
|
||||
let file = `${base}-${lang}.${ext}`;
|
||||
if (!fs.existsSync(as(file))) {
|
||||
console.log(`Page '${fileName}' not found for '${lang}' lang`);
|
||||
// console.log(`Page '${fileName}' not found for '${lang}' lang`);
|
||||
file = `${base}-${fallback}.${ext}`;
|
||||
if (!fs.existsSync(as(file))) {
|
||||
console.log(`Page '${fileName}' not found for '${fallback}' lang`);
|
||||
// console.log(`Page '${fileName}' not found for '${fallback}' lang`);
|
||||
file = `${base}.${ext}`;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue