Skip to content

Commit

Permalink
Update src/cmd/common/viper.go
Browse files Browse the repository at this point in the history
Co-authored-by: razzle <[email protected]>
  • Loading branch information
Racer159 and Noxsios authored Aug 12, 2023
1 parent e1ff2e5 commit 7bc15a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cmd/common/viper.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ func isVersionCmd() bool {
}

func printViperConfigUsed() {
vInitialized := v != nil
if !vInitialized {
return
}
// Optional, so ignore file not found errors
if vConfigError != nil {
// Config file not found; ignore
Expand Down

0 comments on commit 7bc15a5

Please sign in to comment.