Skip to content

Commit

Permalink
fix debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
dehydr8 committed Jan 22, 2024
1 parent 7df7103 commit 756f42e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions util/commit.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package util

import (
"fmt"
"runtime/debug"
)

var Revision = func() string {
if info, ok := debug.ReadBuildInfo(); ok {
fmt.Println(info)
for _, setting := range info.Settings {
if setting.Key == "vcs.revision" {
return setting.Value[:7]
Expand Down

0 comments on commit 756f42e

Please sign in to comment.