summaryrefslogtreecommitdiff
path: root/new.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-03-21 16:16:35 -0500
committerJeff Carr <[email protected]>2024-03-21 16:16:35 -0500
commit2ce9051921ef1ef93b6bcaa48850f2b207b86598 (patch)
treef2e19ffa6cef7eb4a153e01450618cca9c85ad09 /new.go
parent804acc169a49320a5f9a0efb60847071f7fee7f2 (diff)
exec things to STDOUT
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'new.go')
-rw-r--r--new.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/new.go b/new.go
index b523c44..670c967 100644
--- a/new.go
+++ b/new.go
@@ -133,7 +133,8 @@ func Clone(wdir string, path string) error {
return nil
}
var url string
- if url, err = findGoImport("http://" + path); err != nil {
+ // if url, err = findGoImport("http://" + path); err != nil {
+ if url, err = runGoList(path); err != nil {
return err
}
log.Info("URL:", url)