summaryrefslogtreecommitdiff
path: root/repo.protofiles.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-08 03:13:09 -0600
committerJeff Carr <[email protected]>2025-01-08 03:13:09 -0600
commitb0fca659c57dd2cb6a88a74d1a349117a3908124 (patch)
treed1e43473858cead9872a4652aaaeed85dd2afd38 /repo.protofiles.go
parentebda2ea222ed9f1d348d5d3e0cffb9c9f9c0acec (diff)
fix the dumb names
Diffstat (limited to 'repo.protofiles.go')
-rw-r--r--repo.protofiles.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repo.protofiles.go b/repo.protofiles.go
index 638bfcb..146f506 100644
--- a/repo.protofiles.go
+++ b/repo.protofiles.go
@@ -64,7 +64,7 @@ func scanForProtobuf(srcDir string) ([]string, []string, error) {
var compiled []string
err := filepath.Walk(srcDir, func(path string, info os.FileInfo, err error) error {
if err != nil {
- log.Log(GITPBWARN, "Error accessing path:", path, err)
+ log.Log(WARN, "Error accessing path:", path, err)
return err
}
@@ -97,7 +97,7 @@ func (repo *Repo) GetProtoFiles() ([]string, error) {
srcDir := repo.GetFullPath()
err := filepath.Walk(srcDir, func(path string, info os.FileInfo, err error) error {
if err != nil {
- log.Log(GITPBWARN, "Error accessing path:", path, err)
+ log.Log(WARN, "Error accessing path:", path, err)
return err
}