(
args: string,
cwd?: string
)
| 40 | } |
| 41 | |
| 42 | async function runDevCtx( |
| 43 | args: string, |
| 44 | cwd?: string |
| 45 | ): Promise<{ stdout: string; stderr: string }> { |
| 46 | const workspaceFolder = cwd || vscode.workspace.workspaceFolders?.[0]?.uri.fsPath; |
| 47 | if (!workspaceFolder) { |
| 48 | throw new Error("No workspace folder open"); |
| 49 | } |
| 50 | |
| 51 | return execAsync(`npx devctx ${args}`, { cwd: workspaceFolder }); |
| 52 | } |
| 53 | |
| 54 | async function autoResume() { |
| 55 | try { |
no outgoing calls
no test coverage detected