Skip to content

Commit

Permalink
Merge pull request #84 from wix-playground/bep-local-path-relative-path
Browse files Browse the repository at this point in the history
Fix wixperiments debugging
  • Loading branch information
simuons authored May 22, 2024
2 parents 352b45e + 09b02f3 commit b464c3f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ default String getBlazeOutRelativePath(
BuildEventStreamProtos.File file, String configurationMnemonic) {
List<String> pathPrefixList = file.getPathPrefixList();
if (pathPrefixList.size() <= 1) {
if (file.getUri().contains("/external/"))
return file.getUri().substring(file.getUri().indexOf("/external/"));
// fall back to using the configuration mnemonic
// TODO(brendandouglas): remove this backwards compatibility code after September 2019
return configurationMnemonic + "/" + file.getName();
Expand Down

0 comments on commit b464c3f

Please sign in to comment.