Skip to content

Commit 3360e75

Browse files
authored
Update modules/git/grep.go
1 parent 9f1f0ce commit 3360e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/grep.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type GrepOptions struct {
3131
func GrepSearch(ctx context.Context, repo *Repository, search string, opts GrepOptions) ([]*GrepResult, error) {
3232
stdoutReader, stdoutWriter, err := os.Pipe()
3333
if err != nil {
34-
return nil, fmt.Errorf("unable to creata os pipe to grep: %w", err)
34+
return nil, fmt.Errorf("unable to create os pipe to grep: %w", err)
3535
}
3636
stderrReader, stderrWriter, err := os.Pipe()
3737
if err != nil {

0 commit comments

Comments
 (0)