Skip to content

Commit

Permalink
fix: typo in args (#527)
Browse files Browse the repository at this point in the history
Soooo, this was my mistake. I was curious why this wasn't working as expected and it's because we're checking `args` here instead of `arg`. Yay type safety.
  • Loading branch information
ckipp01 authored Jan 3, 2023
1 parent 3725605 commit febc3b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit febc3b3

Please sign in to comment.