(options: { containerId?: string | null; composeProjectName?: string | null })
| 111 | } |
| 112 | } |
| 113 | export async function devContainerStop(options: { containerId?: string | null; composeProjectName?: string | null }) { |
| 114 | if (options.containerId) { |
| 115 | await shellExec(`docker stop ${options.containerId}`); |
| 116 | } |
| 117 | if (options.composeProjectName) { |
| 118 | await shellExec(`docker compose --project-name ${options.composeProjectName} stop`); |
| 119 | } |
| 120 | } |
| 121 | export async function pathExists(cli: string, workspaceFolder: string, location: string) { |
| 122 | try { |
| 123 | await shellExec(`${cli} exec --workspace-folder ${workspaceFolder} test -e ${location}`); |
no test coverage detected