getGrepToolRemovalCodemod creates a codemod for removing the deprecated tools.grep field
()
| 6 | |
| 7 | // getGrepToolRemovalCodemod creates a codemod for removing the deprecated tools.grep field |
| 8 | func getGrepToolRemovalCodemod() Codemod { |
| 9 | return newFieldRemovalCodemod(fieldRemovalCodemodConfig{ |
| 10 | ID: "grep-tool-removal", |
| 11 | Name: "Remove deprecated tools.grep field", |
| 12 | Description: "Removes 'tools.grep' field as grep is now always enabled as part of default bash tools", |
| 13 | IntroducedIn: "0.7.0", |
| 14 | ParentKey: "tools", |
| 15 | FieldKey: "grep", |
| 16 | LogMsg: "Applied grep tool removal", |
| 17 | Log: grepToolCodemodLog, |
| 18 | }) |
| 19 | } |