diff options
| author | Jeff Carr <[email protected]> | 2024-02-16 01:22:37 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-16 01:22:37 -0600 |
| commit | 88ca40bcfa11f464828cace14a07a9b59a00d571 (patch) | |
| tree | c1be5d276bbbe6058853a05b963d441dd35e87b2 /common.go | |
| parent | 2bc2096e841f3b262563126feb8a7a4c2b66f090 (diff) | |
tag date format things
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 "" } |
