Skip to content

Commit

Permalink
Don't always set debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ashanbrown committed Jan 16, 2019
1 parent 70b186d commit 1ef7e1b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,7 @@ func preRunCmd(cmd *cobra.Command, args []string) {
}
}

if viper.IsSet("debug") {
api.Debug = true
}
api.Debug = viper.GetBool("debug")
}

func addTokenCommands(shell *ishell.Shell) {
Expand Down

0 comments on commit 1ef7e1b

Please sign in to comment.