Skip to content

Commit a3bd3d3

Browse files
authored
Merge pull request #73 from vitessio/cross-platform-find
fix copy-paste between shell testing and go testing
2 parents 9ca16b4 + 25eabe8 commit a3bd3d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/shell/shell.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ func NewContext(ctx context.Context, name string, arg ...string) *cmd {
4343
// FindRegexpExtended returns a slice of arguments for doing a `find` command
4444
// using extended regular expressions in a cross-platform-friendly manner.
4545
func FindRegexpExtended(path string, expressions ...string) (args []string) {
46-
args = []string{path}
46+
args = []string{"find", path}
4747
if globalRegexpOpt != "" {
48-
args = []string{globalRegexpOpt, path}
48+
args = []string{"find", globalRegexpOpt, path}
4949
}
5050

5151
if len(regexpTypeOpt) > 0 {

0 commit comments

Comments
 (0)