Shopify / theme-check

The Ultimate Shopify Theme Linter
Other
333 stars 96 forks source link

TranslationKeyExists or MatchingSchemaTranslations or MatchingTranslations with --auto-correct flag replaces contents of every json file with null #735

Open bmandl opened 1 year ago

bmandl commented 1 year ago

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