Skip to content

Commit

Permalink
now really fix that previous issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jhidding committed Aug 12, 2024
1 parent 484a830 commit ac4b2f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions entangled/filedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ def write(self):
logging.debug("Writing FileDB")
raw = {
"version": __version__,
"files": [stat.to_json() for stat in self._files.values()],
"source": list(map(str, self._source)),
"target": list(map(str, self._target)),
"files": sorted([stat.to_json() for stat in self._files.values()], key=lambda s: s["path"]),
"source": list(sorted(map(str, self._source))),
"target": list(sorted(map(str, self._target))),
}
json.dump(raw, open(FileDB.path(), "w"), indent=2, sort_keys=True)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "entangled-cli"
version = "2.1.2"
version = "2.1.3"
description = "Literate Programming toolbox"
repository = "https://github.com/entangled/entangled.py"
homepage = "https://entangled.github.io/"
Expand Down

0 comments on commit ac4b2f7

Please sign in to comment.