summaryrefslogtreecommitdiff
path: root/unix.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-26 02:02:56 -0600
committerJeff Carr <[email protected]>2024-01-26 02:02:56 -0600
commit9f26bc2d444b662a8ee19700612d6cc31d71df63 (patch)
tree697c99415cd425db76a7c36252c0ccad99e34484 /unix.go
parent2aed84cf3ae3b51c91d929aa675cdd774a9de0ce (diff)
go status moving here
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'unix.go')
-rw-r--r--unix.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix.go b/unix.go
index 47dde92..2bc03c4 100644
--- a/unix.go
+++ b/unix.go
@@ -222,13 +222,13 @@ func VerifyLocalGoRepo(gorepo string) bool {
// Form the path to the home Git directory
gitDir := filepath.Join(usr.HomeDir, "go/src/", gorepo, ".git")
- log.Log(WARN, "VerifyLocalGoRepo() checking directory:", gitDir)
+ log.Log(INFO, "VerifyLocalGoRepo() checking directory:", gitDir)
if IsDirectory(gitDir) {
return true
}
goDir := filepath.Join(usr.HomeDir, "go/src/", gorepo)
gomod := goDir + "/go.mod"
- log.Log(WARN, "VerifyLocalGoRepo() checking for go.mod :", gomod)
+ log.Log(INFO, "VerifyLocalGoRepo() checking for go.mod :", gomod)
_, err = os.Stat(gomod)
if os.IsNotExist(err) {
return false