Skip to content

Commit

Permalink
Fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
mstachniuk committed Dec 17, 2024
1 parent 1428844 commit c154ced
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/**
* Copyright (C) 2021-2024 SonarSource SA
* All rights reserved
/*
* SonarSource Go
* Copyright (C) 2018-2024 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Sonar Source-Available License for more details.
*
* You should have received a copy of the Sonar Source-Available License
* along with this program; if not, see https://sonarsource.com/license/ssal/
*/
package org.sonarsource.slang;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,13 @@ public static void prepare() throws Exception {
DISABLE_TELEMETRY,
CAN_NOT_OPEN_FIX_SUGGESTION);
backend.initialize(
new InitializeParams(IT_CLIENT_INFO, IT_TELEMETRY_ATTRIBUTES, HttpConfigurationDto.defaultConfig(), null, featureFlags,
sonarUserHome.resolve("storage"),
sonarUserHome.resolve("work"),
Set.of(GO_PLUGIN_LOCATION.getFile().toPath()), Collections.emptyMap(),
Set.of(org.sonarsource.sonarlint.core.rpc.protocol.common.Language.GO), Collections.emptySet(), Collections.emptySet(), Collections.emptyList(), Collections.emptyList(), sonarUserHome.toString(), Map.of(),
false, null, false, null))
new InitializeParams(IT_CLIENT_INFO, IT_TELEMETRY_ATTRIBUTES, HttpConfigurationDto.defaultConfig(), null, featureFlags,
sonarUserHome.resolve("storage"),
sonarUserHome.resolve("work"),
Set.of(GO_PLUGIN_LOCATION.getFile().toPath()), Collections.emptyMap(),
Set.of(org.sonarsource.sonarlint.core.rpc.protocol.common.Language.GO), Collections.emptySet(), Collections.emptySet(), Collections.emptyList(), Collections.emptyList(),
sonarUserHome.toString(), Map.of(),
false, null, false, null))
.get();
}

Expand Down

0 comments on commit c154ced

Please sign in to comment.