We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ba2354 commit 2088263Copy full SHA for 2088263
codetide/__init__.py
@@ -723,8 +723,11 @@ def get_unique_paths(path_list):
723
unique_paths = []
724
725
for path in path_list:
726
- # Normalize the path to use OS-appropriate separators
727
- normalized = os.path.normpath(path)
+ if isinstance(path, str) and path.endswith("/"):
+ normalized = path
728
+ else:
729
+ # Normalize the path to use OS-appropriate separators
730
+ normalized = os.path.normpath(path)
731
732
# Only add if we haven't seen this normalized path before
733
if normalized not in seen:
0 commit comments