diff --git a/tools/mmgotool/commands/i18n.go b/tools/mmgotool/commands/i18n.go index be7a1cc70e..5e7c12d767 100644 --- a/tools/mmgotool/commands/i18n.go +++ b/tools/mmgotool/commands/i18n.go @@ -113,8 +113,8 @@ func getBaseFileSrcStrings(mattermostDir string) ([]Translation, error) { return nil, err } var translations []Translation - _ = json.Unmarshal(jsonFile, &translations) - return translations, nil + err = json.Unmarshal(jsonFile, &translations) + return translations, err } func extractSrcStrings(enterpriseDir, mattermostDir, modelDir, pluginDir, portalDir string) map[string]bool {