Skip to content

Commit

Permalink
fix hierarchy annotator not updating
Browse files Browse the repository at this point in the history
  • Loading branch information
granawkins committed Jun 4, 2024
1 parent 8b7da9b commit 72a9042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ragdaemon/annotators/hierarchy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def files_checksum(cwd: Path, ignore_patterns: set[Path] = set()) -> str:
timestamps = ""
for path in get_paths_for_directory(cwd, exclude_patterns=ignore_patterns):
try:
timestamps += str(path.stat().st_mtime)
timestamps += str((cwd / path).stat().st_mtime)
except FileNotFoundError:
pass
return hash_str(timestamps)
Expand Down

0 comments on commit 72a9042

Please sign in to comment.