Skip to content

Commit

Permalink
quickfix missed in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbloss committed Sep 18, 2023
1 parent ba40ffc commit 9f7caff
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 9f7caff

Please sign in to comment.