Closed mspiess closed 8 months ago
When the keys are complete but in a wrong order calling i18next --fail-on-update with sort: true in the config does update the files but not fail.
i18next --fail-on-update
sort: true
i18next --fail-on-update 'src/**/*.{ts,tsx,js,jsx}'
Expected the command to fail, since there are updates in the translation file.
@mspiess It makes sense. Can you make a PR?
Yes, I will try to make time on the weekend. Is this a breaking change?
I don't think it is no.
Deployed as 8.11.0
8.11.0
🐛 Bug Report
When the keys are complete but in a wrong order calling
i18next --fail-on-update
withsort: true
in the config does update the files but not fail.To Reproduce
sort: true
in the config.i18next --fail-on-update 'src/**/*.{ts,tsx,js,jsx}'
Expected behavior
Expected the command to fail, since there are updates in the translation file.
Your Environment