Skip to content

Commit 418ca3a

Browse files
committed
Remove what we're checking for membership
1 parent 98e0faa commit 418ca3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/resources/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def add_directory(
380380
if into_path is None:
381381
into_path = path
382382
if self._collect_ignores and relpath(path, base_path) in self.ignored_dirs:
383-
self.ignored_dirs.remove(path)
383+
self.ignored_dirs.remove(relpath(path, base_path))
384384
if exclude_paths:
385385
self.add_ignore_patterns(
386386
path, base_path, [join(e, "*") for e in exclude_paths])

0 commit comments

Comments
 (0)