mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
fix versions sorting
This commit is contained in:
parent
71612ad9b8
commit
926e75c075
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def read_verfile(file: Path) -> VersData:
|
|||
def write_verfile(file: Path, versions: VersData) -> None:
|
||||
# sort and indent to make it friendly to human and git
|
||||
data = json.dumps(
|
||||
dict(sorted(versions)),
|
||||
dict(sorted(versions.items())),
|
||||
indent=2,
|
||||
ensure_ascii=False,
|
||||
) + '\n'
|
||||
|
|
Loading…
Add table
Reference in a new issue