Fix for when the 'migrate' command drops the custom default language. (Using suggested fix) (#17190)

P.S. No ticket for this

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Harold Alcala
2021-08-10 07:44:28 +08:00
коммит произвёл GitHub
родитель 6af00ee2ce
Коммит 5226aa5ca3

Просмотреть файл

@@ -273,6 +273,10 @@ func configSetCmdF(command *cobra.Command, args []string) error {
}
func configMigrateCmdF(command *cobra.Command, args []string) error {
if err := utils.TranslationsPreInit(); err != nil {
return errors.Wrap(err, "failed to load translations while migrating config")
}
from := args[0]
to := args[1]