Skip to content

Commit

Permalink
remove log.Lshortfile from log lines
Browse files Browse the repository at this point in the history
it was adding src line number to debug prints
  • Loading branch information
dgodd committed Sep 24, 2018
1 parent b15fc0c commit ed0932a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (b *BuildFlags) Init() error {

b.Stdout = os.Stdout
b.Stderr = os.Stderr
b.Log = log.New(os.Stdout, "", log.LstdFlags|log.Lshortfile)
b.Log = log.New(os.Stdout, "", log.LstdFlags)
b.FS = &fs.FS{}

return nil
Expand Down

0 comments on commit ed0932a

Please sign in to comment.