Skip to content

Commit 8324f8b

Browse files
authored
Merge pull request #71 from lucidsoftware/fix-the-semanticdb-phase
Compute the SemanticDB target root correctly
2 parents ae550b8 + 222acba commit 8324f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/private/phases/phase_semanticdb.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def _semanticdb_directory_from_file(file):
1515
nested function closure by default.
1616
"""
1717

18-
return "{}/{}".format(file.root.path, file.short_path[:file.short_path.find("META-INF") - 1])
18+
return file.path[:file.path.find("META-INF") - 1]
1919

2020
#
2121
# PHASE: semanticdb

0 commit comments

Comments
 (0)