(cmd: string)
| 206 | } |
| 207 | |
| 208 | export const execCommand = (cmd: string): Promise<void> => { |
| 209 | return new Promise((resolve, reject) => { |
| 210 | exec(cmd, (error: any, stdout: any, stderr: any) => { |
| 211 | if (error) { |
| 212 | reject(error) |
| 213 | } |
| 214 | resolve(stdout || stderr) |
| 215 | }) |
| 216 | }) |
| 217 | } |
| 218 | |
| 219 | export const findExistingDGraphContainerId = async ( |
| 220 | statusFilter: string |
no outgoing calls
no test coverage detected