Skip to content

Commit

Permalink
Merge pull request #319 from KxSystems/KXI-46862
Browse files Browse the repository at this point in the history
KXI-46862: Workbook execution on local KDB+ connections is broken
  • Loading branch information
ecmel authored May 24, 2024
2 parents f9f1f47 + ac0795d commit 3a76185
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commands/workspaceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ export async function runActiveEditor(type?: ExecutionTypes) {
if (!server) {
server = "";
}
const connection = await getConnectionForServer(server);
server = connection?.label || "";
if (!connMngService.isConnected(server) && isScratchpad(uri)) {
offerConnectAction(server);
return;
Expand Down

0 comments on commit 3a76185

Please sign in to comment.