diff --git a/rules/private/phases/phase_semanticdb.bzl b/rules/private/phases/phase_semanticdb.bzl index c1ce8375..72854e00 100644 --- a/rules/private/phases/phase_semanticdb.bzl +++ b/rules/private/phases/phase_semanticdb.bzl @@ -15,7 +15,7 @@ def _semanticdb_directory_from_file(file): nested function closure by default. """ - return "{}/{}".format(file.root.path, file.short_path[:file.short_path.find("META-INF") - 1]) + return file.path[:file.path.find("META-INF") - 1] # # PHASE: semanticdb