diff options
| author | Jeff Carr <[email protected]> | 2024-11-08 06:43:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-08 06:43:33 -0600 |
| commit | 55acea0bd769132db7bf420fef3b94fa21ca5f83 (patch) | |
| tree | d43fb2b485cf0b1439a48037cf129a76e1d53ad0 /new.go | |
| parent | 29545d3f048ccb148429725d76d0894336985c2b (diff) | |
use go-cmd/cmdv0.22.12
Diffstat (limited to 'new.go')
| -rw-r--r-- | new.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -154,7 +154,7 @@ func Clone(wdir string, path string) error { path = "go.googlesource.com/xerrors" } - shell.RunPath(fulldir, []string{"git", "clone", "http://" + path}) + shell.PathRun(fulldir, []string{"git", "clone", "http://" + path}) if IsDirectory(fullpath) { // clone worked return nil @@ -166,7 +166,7 @@ func Clone(wdir string, path string) error { return err } log.Info("URL:", url) - shell.RunPath(fulldir, []string{"git", "clone", url, base}) + shell.PathRun(fulldir, []string{"git", "clone", url, base}) if IsDirectory(fullpath) { // clone worked return nil |
