diff options
| author | Jeff Carr <[email protected]> | 2024-01-26 02:02:56 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-26 02:02:56 -0600 |
| commit | 9f26bc2d444b662a8ee19700612d6cc31d71df63 (patch) | |
| tree | 697c99415cd425db76a7c36252c0ccad99e34484 /unix.go | |
| parent | 2aed84cf3ae3b51c91d929aa675cdd774a9de0ce (diff) | |
go status moving here
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'unix.go')
| -rw-r--r-- | unix.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
