feat: Add local service port check for workflow commands
- Introduce conditional check for DC_LOCALSERVICE_PORT - Call getWorkflowCommandList if local service port is set - Enhance handleRegCommandList function with new logic
This commit is contained in:
parent
741ee9fcbf
commit
964a545393
@ -17,6 +17,9 @@ export async function handleRegCommandList(
|
|||||||
panel: vscode.WebviewPanel | vscode.WebviewView
|
panel: vscode.WebviewPanel | vscode.WebviewView
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
existPannel = panel;
|
existPannel = panel;
|
||||||
|
if (process.env.DC_LOCALSERVICE_PORT) {
|
||||||
|
await getWorkflowCommandList(message, existPannel!);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getWorkflowCommandList(
|
export async function getWorkflowCommandList(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user