(dockerComposePath: string)
| 141 | } |
| 142 | |
| 143 | export function loadDockerComposeFile(dockerComposePath: string): Document | undefined { |
| 144 | if (fs.existsSync(dockerComposePath)) { |
| 145 | const content = fs.readFileSync(dockerComposePath, 'utf8'); |
| 146 | return parseDocument(content); |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | function getSubqlNodeService(dockerCompose: Document): DockerComposeService | undefined { |
| 151 | const services = dockerCompose.get('services'); |
no outgoing calls
no test coverage detected