diff --git a/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbJavacOptions.java b/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbJavacOptions.java index 87d02adf..bea1f043 100644 --- a/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbJavacOptions.java +++ b/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbJavacOptions.java @@ -55,7 +55,7 @@ public static SemanticdbJavacOptions parse(String[] args, Context ctx) { } } else if (arg.startsWith("-sourceroot:")) { result.sourceroot = Paths.get(arg.substring("-sourceroot:".length())).normalize(); - } else if (arg.equals("-build-tool:sbt") || args.equals("-build-tool:mill")) { + } else if (arg.equals("-build-tool:sbt") || arg.equals("-build-tool:mill")) { result.uriScheme = UriScheme.ZINC; } else if (arg.equals("-build-tool:bazel")) { result.uriScheme = UriScheme.BAZEL;