(context)
| 118 | } |
| 119 | |
| 120 | async function stopProjectService(context) { |
| 121 | const config = vscode.workspace.getConfiguration("simdeck"); |
| 122 | const cliPath = resolveCliPath(context, config.get("cliPath", "")); |
| 123 | outputChannel.appendLine(`Stopping SimDeck project service using ${cliPath}`); |
| 124 | const result = await runCli(context, cliPath, ["service", "stop"]); |
| 125 | outputChannel.append(result.stderr); |
| 126 | } |
| 127 | |
| 128 | function runCli(context, cliPath, args) { |
| 129 | return new Promise((resolve, reject) => { |
no test coverage detected