We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a14ad3a commit 1e08f8eCopy full SHA for 1e08f8e
refresh.template.py
@@ -507,7 +507,7 @@ def _file_is_in_main_workspace_and_not_external(file_str: str):
507
508
# some/file.h, but not external/some/file.h
509
# also allows for things like bazel-out/generated/file.h
510
- if file_path.is_relative_to(pathlib.PurePath("external")):
+ if _is_relative_to(file_path, pathlib.PurePath("external")):
511
return False
512
513
# ... but, ignore files in e.g. bazel-out/<configuration>/bin/external/
0 commit comments