File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -195,8 +195,12 @@ def analyze():
195195
196196def fix_path_with_regex (data :str ) -> str :
197197 """
198- Try resolving Bazel paths using regexes.
199- Returns the resulting string.
198+ The absolute paths of the analyzed source files found in the plist files
199+ do not point to their original location, but rather wherever bazel copied
200+ them. This might either be in a subdirectory in bazel-bin on the
201+ local machine, or somewhere unrelated if the analysis was executed on a
202+ remote worker. This function tries to replace these paths to the location
203+ of the original location of the source file.
200204 """
201205 for pattern , replace in BAZEL_PATHS .items ():
202206 data = re .sub (pattern , replace , data )
You can’t perform that action at this time.
0 commit comments