summaryrefslogtreecommitdiff
path: root/deps.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-03-09 16:50:18 -0600
committerJeff Carr <[email protected]>2024-03-09 16:50:18 -0600
commit7d3e4ce84e9414036c1783b5f262fb55439f0a34 (patch)
treeb6680c62f8e9dbbbb2552cf69edb96fb7084e9dd /deps.go
parent546ad6a842eba10ec9b1a028580c090cb06c6c29 (diff)
add submodules section of the .git/configv0.22.2
Diffstat (limited to 'deps.go')
-rw-r--r--deps.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/deps.go b/deps.go
index 5d09782..5fb2265 100644
--- a/deps.go
+++ b/deps.go
@@ -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
}
}