Skip to content

Commit

Permalink
Adjusted comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Mahnke committed Feb 16, 2024
1 parent 88a2fc3 commit a763fe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/config.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ export const buildAppConfig = (destConfigPath?: string): AppConfig => {

i18nFiles.forEach(file => {
const match = file.match(/^(.+)\.(.+)\.json$/);
// only add language hash to config if no config exists for current language (ensuring the latest language file
// is used)
// only add language hash to config, if no config exists for current language (ensuring the latest language file
// is used - meaning the one sideloaded into the i18n folder)
if (match && appConfig.languageHashes.filter(((languageHashConfig) => languageHashConfig.lang === match[1])).length === 0) {
const languageConfig: LanguageHashesConfig = {
lang: match[1],
Expand Down

0 comments on commit a763fe4

Please sign in to comment.