From b0fca659c57dd2cb6a88a74d1a349117a3908124 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 8 Jan 2025 03:13:09 -0600 Subject: fix the dumb names --- repo.protofiles.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repo.protofiles.go') 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 } -- cgit v1.2.3