Skip to content

Commit 9871bd2

Browse files
committed
Prettify the JSON we cache
1 parent 35b29cb commit 9871bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/element_tracking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __exit__(
3030
exc_val: Optional[BaseException],
3131
exc_tb: Optional[TracebackType],
3232
) -> None:
33-
self.cache_path.write_text(json.dumps(self.elements))
33+
self.cache_path.write_text(json.dumps(self.elements, sort_keys=True, indent=2))
3434

3535

3636
class ElementsInProgress:

0 commit comments

Comments
 (0)