summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-16 01:22:37 -0600
committerJeff Carr <[email protected]>2024-02-16 01:22:37 -0600
commit88ca40bcfa11f464828cace14a07a9b59a00d571 (patch)
treec1be5d276bbbe6058853a05b963d441dd35e87b2 /common.go
parent2bc2096e841f3b262563126feb8a7a4c2b66f090 (diff)
tag date format things
Diffstat (limited to 'common.go')
-rw-r--r--common.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/common.go b/common.go
index 1b0f7a6..d725fbb 100644
--- a/common.go
+++ b/common.go
@@ -19,7 +19,7 @@ func (rs *RepoStatus) Changed() bool {
// deprecate this. returns the gopath right now
func (rs *RepoStatus) String() string {
- log.Warn("RepoStatus.String() is to be deprecated")
+ // log.Warn("RepoStatus.String() is to be deprecated")
return rs.path.String()
}
@@ -101,10 +101,10 @@ func (rs *RepoStatus) RepoType() string {
err, output := rs.RunCmd([]string{"go", "list", "-f", "'{{if eq .Name \"main\"}}binary{{else}}library{{end}}'"})
if err == nil {
output = strings.Trim(output, "'")
- log.Info("go package is:", output)
+ // log.Info("go package is:", output)
return output
}
- log.Info("package is: unknown", err)
+ // log.Info("package is: unknown", err)
return ""
}