Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Config: do not overwrite when loaded and not migrated (#4605)
The `Config.from_file` classmethod used to load the `config.json` file into memory was always writing the contents from memory to disk if it was read, even if the content was not migrated. This is unnecessary and so the write is now only performed if the config was migrated.
- Loading branch information