feature/recipe_implementation #5
@ -110,7 +110,7 @@ func (r *Runner) discoverFiles() []string {
|
||||
}
|
||||
}
|
||||
|
||||
// 4. Use the configurable search pattern (defaults to "if err != nil")
|
||||
// 4. Use a configurable search pattern (defaults to Go-style)
|
||||
searchFor := r.Recipe.SearchPattern
|
||||
if searchFor == "" {
|
||||
searchFor = "if err != nil"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user