TranslationKeyExists or MatchingSchemaTranslations or MatchingTranslations with --auto-correct flag replaces contents of every json file with null #735
Describe the bug
If theme check for TranslationKeyExists or MatchingSchemaTranslations or MatchingTranslations with --auto-correct flag is run, contents of every json file except default locale json files get replaced with null.
Expected
All json files, except locale json files should stay intact.
Actual
All json files contents gets replaced with null
Describe the bug If theme check for TranslationKeyExists or MatchingSchemaTranslations or MatchingTranslations with --auto-correct flag is run, contents of every json file except default locale json files get replaced with null.
Expected All json files, except locale json files should stay intact.
Actual All json files contents gets replaced with null
Debugging information