getCodemodByID is a helper function to find a codemod by ID
(id string)
| 16 | |
| 17 | // getCodemodByID is a helper function to find a codemod by ID |
| 18 | func getCodemodByID(id string) *Codemod { |
| 19 | codemods := GetAllCodemods() |
| 20 | for _, cm := range codemods { |
| 21 | if cm.ID == id { |
| 22 | return &cm |
| 23 | } |
| 24 | } |
| 25 | return nil |
| 26 | } |
| 27 | |
| 28 | func TestProcessWorkflowFileWithInfo_WriteOutputUsesSingleCheckmark(t *testing.T) { |
| 29 | tmpDir := t.TempDir() |
no test coverage detected