@@ -9,7 +9,7 @@ different contents.
9
9
This aspect is needed for scip-java to inspect the structure of the Bazel build
10
10
and register actions to index all java_library/java_test/java_binary targets.
11
11
The result of running this aspect is that your bazel-bin/ directory will contain
12
- many *.scip (https://github.com/sourcegraph/scip) and
12
+ many *.scip (https://github.com/sourcegraph/scip) and
13
13
*.semanticdb (https://scalameta.org/docs/semanticdb/specification.html) files.
14
14
These files encode information about which symbols are referenced from which
15
15
locations in your source code.
@@ -66,13 +66,13 @@ def _scip_java(target, ctx):
66
66
67
67
if len (source_files ) == 0 :
68
68
return None
69
-
69
+
70
70
output_dir = []
71
71
72
72
for source_jar in source_jars :
73
- dir = ctx .actions .declare_directory (ctx .label .name + "/ extracted_srcjar/" + source_jar .short_path )
73
+ dir = ctx .actions .declare_directory (ctx .label .name + ". extracted_srcjar/" + source_jar .short_path )
74
74
output_dir .append (dir )
75
-
75
+
76
76
ctx .actions .run_shell (
77
77
inputs = javac_action .inputs ,
78
78
outputs = [dir ],
@@ -99,7 +99,7 @@ def _scip_java(target, ctx):
99
99
100
100
launcher_javac_flags = []
101
101
compiler_javac_flags = []
102
-
102
+
103
103
# In different versions of bazel javac options are either a nested set or a depset or a list...
104
104
javac_options = []
105
105
if hasattr (compilation , "javac_options_list" ):
@@ -108,7 +108,7 @@ def _scip_java(target, ctx):
108
108
javac_options = compilation .javac_options
109
109
110
110
for value in javac_options :
111
- # NOTE(Anton): for some bizarre reason I see empty string starting the list of
111
+ # NOTE(Anton): for some bizarre reason I see empty string starting the list of
112
112
# javac options - which then gets propagated into the JSON config, and ends up
113
113
# crashing the actual javac invokation.
114
114
if value != "" :
0 commit comments