Show active profile for app in BootDash

This commit is contained in:
aboyko
2024-04-06 01:48:37 -04:00
parent f52967d9f8
commit 9cd237b97a
11 changed files with 158 additions and 14 deletions

View File

@@ -44,7 +44,7 @@ public class BootLsCommandUtils {
public static <T> CompletableFuture<Optional<T>> executeCommand(TypeToken<T> resType, String cmd, Object... params) {
return getLanguageServers(cmd).computeFirst(ls -> ls.getWorkspaceService().executeCommand(new ExecuteCommandParams(
cmd,
ImmutableList.of(params)
ImmutableList.copyOf(params)
))).thenApply(o -> o.map(v -> GSON.fromJson(GSON.toJsonTree(v), resType)));
}