(command: string)
| 91 | }; |
| 92 | |
| 93 | export const assertCommandExists = (command: string): void => { |
| 94 | if (!commandExists(command)) { |
| 95 | throw new Error(`Command '${command}' does not exist.`); |
| 96 | } |
| 97 | }; |
| 98 | |
| 99 | export const getReplicaUrl = async (network: string): Promise<string> => { |
| 100 | const dfxFile = JSON.parse(await readFile(DFX_PATH, 'utf-8')); |
no test coverage detected