Skip to content

Commit

Permalink
Merge pull request #173 from OpsLevel/db/quickfix-print-to-stderr
Browse files Browse the repository at this point in the history
quickfix missed in previous commit
  • Loading branch information
davidbloss authored Sep 18, 2023
2 parents ba40ffc + 9f7caff commit a69b198
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cmd/input.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package cmd

import (
"fmt"
"os"

"github.com/rs/zerolog/log"

"github.com/spf13/viper"
)

Expand All @@ -15,7 +16,7 @@ func readInputConfig() {
viper.SetConfigFile("./data.yaml")
case "-":
if isStdInFromTerminal() {
fmt.Println("Reading input directly from command line...")
log.Info().Msg("Reading input directly from command line...")
}
viper.SetConfigType("yaml")
viper.ReadConfig(os.Stdin)
Expand Down

0 comments on commit a69b198

Please sign in to comment.