report unreachable files in sorted order
authorMartin Taibr <taibr.martin@gmail.com>
Thu, 6 Apr 2017 10:25:00 +0000 (12:25 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Thu, 6 Apr 2017 10:25:30 +0000 (12:25 +0200)
assets/check-and-fix.py

index 2528d04..7218b9f 100755 (executable)
@@ -277,7 +277,7 @@ def find_unlinked(all_paths: List[str]):
 
     walk_links(canonical_to_real, is_linked, "Home.md")
 
-    for path, linked in is_linked.items():
+    for path, linked in sorted(is_linked.items()):
         if not linked:
             print("not reachable from Home: {}".format(path))