Skip to content

Commit

Permalink
Fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin-jaquier-sonarsource committed Jun 13, 2024
1 parent 0cf360c commit 3ec5834
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public StandaloneParser() {
new NodeDeprecationWarning(new AnalysisWarningsWrapper()), new StandaloneTemporaryFolder(), new EmbeddedNode(processWrapper, new Environment(emptyConfiguration)));
try {
bridge.startServerLazily(new BridgeServerConfig(emptyConfiguration, new File(".").getAbsolutePath(), SonarProduct.SONARLINT));
bridge.initLinter(List.of(), List.of(), List.of(), AnalysisMode.DEFAULT, null, List.of());
bridge.initLinter(List.of(), List.of(), List.of(), AnalysisMode.DEFAULT, "basedir", List.of());
} catch (IOException e) {
throw new UncheckedIOException(e);
}
Expand Down

0 comments on commit 3ec5834

Please sign in to comment.