(appliedCodemods []string, codemodNames ...string)
| 406 | } |
| 407 | |
| 408 | func wasAnyCodemodApplied(appliedCodemods []string, codemodNames ...string) bool { |
| 409 | for _, codemodName := range codemodNames { |
| 410 | if wasCodemodApplied(appliedCodemods, codemodName) { |
| 411 | return true |
| 412 | } |
| 413 | } |
| 414 | return false |
| 415 | } |
| 416 | |
| 417 | func resolveWorkflowRoot(filePath string) string { |
| 418 | clean := filepath.Clean(filePath) |
no test coverage detected