docs(internal/recipe): update comment on search pattern default to "Go-style"
Changes the comment to describe the default as "Go-style" instead of the specific string for better generality.
This commit is contained in:
parent
757f422765
commit
213a9869e6
@ -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
|
searchFor := r.Recipe.SearchPattern
|
||||||
if searchFor == "" {
|
if searchFor == "" {
|
||||||
searchFor = "if err != nil"
|
searchFor = "if err != nil"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user