(configFile string)
| 366 | } |
| 367 | |
| 368 | func getConfigFileFormat(configFile string) internalConfig.Format { |
| 369 | var format internalConfig.Format |
| 370 | if strings.HasSuffix(configFile, ".json") { |
| 371 | format = internalConfig.FormatJSON |
| 372 | } else { |
| 373 | format = internalConfig.FormatYAML |
| 374 | } |
| 375 | return format |
| 376 | } |
no outgoing calls
no test coverage detected