We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e92f50 commit e8d4133Copy full SHA for e8d4133
dreadnode/artifact/merger.py
@@ -586,9 +586,9 @@ def _update_directory_hash(self, dir_node: DirectoryNode) -> str:
586
587
for child in dir_node["children"]:
588
if child["type"] == "file":
589
- child_hashes.append(cast(FileNode, child)["hash"])
+ child_hashes.append(cast("FileNode", child)["hash"])
590
else:
591
- child_hash = self._update_directory_hash(cast(DirectoryNode, child))
+ child_hash = self._update_directory_hash(cast("DirectoryNode", child))
592
child_hashes.append(child_hash)
593
594
child_hashes.sort() # Ensure consistent hash regardless of order
0 commit comments