Something weird happened to my git repo.
As you can see from the following diff, at first we added console.log(config), in the next commit we removed it and in the last we removed it again because that line was still present on the repo.
How's that possible? Maybe something weird happened with the merge?
commit e28e546f003f4b55cc508e60b8a2c7ba3ad1ffab Date: Thu Jan 21 14:46:50 2021 +0100 remove console log diff --git a/lib/config.js b/lib/config.js index 6f20b32..ba26ac3 100644 --- a/lib/config.js +++ b/lib/config.js @@ -293,8 +293,6 @@ for (let c in config) { config.i18n.supportedLocales = (config.i18n.locales).filter(l => l.iso === locale) -console.log(config) - const exportedConfig = { config: config, server: { commit fc05a16cda8cd9f72d73b995af001dd4ef932a70 Merge: 5b1ef6e 86e1a6a Date: Wed Jan 20 17:53:14 2021 +0000 Merge branch 'development' into 'staging' Development --> Staging See merge request !681 commit 86e1a6aaec44c65e89e0507caf463876d9323d86 Date: Wed Jan 20 18:50:03 2021 +0100 Fool GIT diff --git a/lib/config.js b/lib/config.js index 29d0c26..ba26ac3 100644 --- a/lib/config.js +++ b/lib/config.js @@ -289,6 +289,8 @@ for (let c in config) { } } +/// console.log(config) + config.i18n.supportedLocales = (config.i18n.locales).filter(l => l.iso === locale) const exportedConfig = { commit fc85ca3069f9d76072a0488cade1477e47844e8d Date: Wed Jan 20 18:45:17 2021 +0100 Remove console.log() diff --git a/lib/config.js b/lib/config.js index f2f295c..29d0c26 100644 --- a/lib/config.js +++ b/lib/config.js @@ -291,8 +291,6 @@ for (let c in config) { config.i18n.supportedLocales = (config.i18n.locales).filter(l => l.iso === locale) -console.log(config) - const exportedConfig = { config: config, server: { commit f2d09dc045dd3e536a09929403e067c5c8fb8b62 Date: Wed Jan 20 18:43:39 2021 +0100 Restore console.log() diff --git a/lib/config.js b/lib/config.js index 29d0c26..f2f295c 100644 --- a/lib/config.js +++ b/lib/config.js @@ -291,6 +291,8 @@ for (let c in config) { config.i18n.supportedLocales = (config.i18n.locales).filter(l => l.iso === locale) +console.log(config) + const exportedConfig = { config: config, server: {