()
| 80 | } |
| 81 | |
| 82 | func isTestEnvironment() bool { |
| 83 | cliName := currentCliName(os.Args[0]) |
| 84 | return strings.HasSuffix(cliName, ".test") || |
| 85 | strings.HasSuffix(cliName, "_test") || |
| 86 | os.Args[1] == "-test.v" |
| 87 | } |
| 88 | |
| 89 | // used for non-interactive fixing of commit messages of squashed commits |
| 90 | func squashWipGitEditor(fileName string, configuration config.Configuration) { |
no test coverage detected