We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b164c8b commit b46c0c2Copy full SHA for b46c0c2
1 file changed
src/utils/file_utils.py
@@ -142,6 +142,10 @@ def relative_path(path, parent_path):
142
path = normalize_path(path)
143
parent_path = normalize_path(parent_path)
144
145
+ if os_utils.is_win():
146
+ path = path.capitalize()
147
+ parent_path = parent_path.capitalize()
148
+
149
if not path.startswith(parent_path):
150
raise ValueError(path + ' is not subpath of ' + parent_path)
151
0 commit comments