diff options
| author | Jeff Carr <[email protected]> | 2024-03-09 16:50:18 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-03-09 16:50:18 -0600 |
| commit | 7d3e4ce84e9414036c1783b5f262fb55439f0a34 (patch) | |
| tree | b6680c62f8e9dbbbb2552cf69edb96fb7084e9dd /deps.go | |
| parent | 546ad6a842eba10ec9b1a028580c090cb06c6c29 (diff) | |
add submodules section of the .git/configv0.22.2
Diffstat (limited to 'deps.go')
| -rw-r--r-- | deps.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -13,7 +13,7 @@ func (rs *RepoStatus) GetGoDeps() GoConfig { tmp := filepath.Join(rs.realPath.String(), "go.sum") gosum, err := os.Open(tmp) if err != nil { - log.Log(WARN, "\tmissing go.sum", rs.realPath.String()) + log.Log(REPO, "\tmissing go.sum", rs.realPath.String()) return nil } defer gosum.Close() @@ -22,7 +22,7 @@ func (rs *RepoStatus) GetGoDeps() GoConfig { deps = make(GoConfig) scanner := bufio.NewScanner(gosum) - log.Info("\tgosum:", tmp) + log.Log(REPO, "\tgosum:", tmp) for scanner.Scan() { line := strings.TrimSpace(scanner.Text()) @@ -36,15 +36,15 @@ func (rs *RepoStatus) GetGoDeps() GoConfig { currentversion, ok := deps[godep] if ok { if currentversion != version { - log.Info("\tREPO:", rs.String(), rs.realPath.String()) - log.Info("\t version mismatch:", godep, version, currentversion) + log.Log(REPO, "\tREPO:", rs.String(), rs.realPath.String()) + log.Log(REPO, "\t version mismatch:", godep, version, currentversion) } } else { deps[godep] = version - log.Info("\t", godep, "=", version) + log.Log(REPO, "\t", godep, "=", version) } } else { - log.Info("\t INVALID:", parts) + log.Log(REPO, "\t INVALID:", parts) return nil } } |
