Skip to content

Commit 1e08f8e

Browse files
committed
Restore python 3.8 support
Fixes #184
1 parent a14ad3a commit 1e08f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

refresh.template.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def _file_is_in_main_workspace_and_not_external(file_str: str):
507507

508508
# some/file.h, but not external/some/file.h
509509
# also allows for things like bazel-out/generated/file.h
510-
if file_path.is_relative_to(pathlib.PurePath("external")):
510+
if _is_relative_to(file_path, pathlib.PurePath("external")):
511511
return False
512512

513513
# ... but, ignore files in e.g. bazel-out/<configuration>/bin/external/

0 commit comments

Comments
 (0)