()
| 55 | } |
| 56 | |
| 57 | func (c *Config) ProcessComposeYaml() (string, string) { |
| 58 | for file, contentPath := range c.CreateFiles { |
| 59 | if strings.HasSuffix(file, "process-compose.yaml") || strings.HasSuffix(file, "process-compose.yml") { |
| 60 | return file, contentPath |
| 61 | } |
| 62 | } |
| 63 | return "", "" |
| 64 | } |
| 65 | |
| 66 | func (c *Config) Services() (services.Services, error) { |
| 67 | if file, _ := c.ProcessComposeYaml(); file != "" { |
no outgoing calls
no test coverage detected