Skip to content

Commit

Permalink
Fix bug with --token flag, bump version to v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marevers committed Mar 6, 2024
1 parent f9affa6 commit 0580650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var cfgFile string
var tokenFile string

// Pleasant-CLI version
var version = "v0.3.0"
var version = "v0.3.1"

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Expand Down Expand Up @@ -93,7 +93,7 @@ func initConfig() {
if tokenFile != "" {
// Use token file from the flag
viper.AddConfigPath(tokenFile)
viper.SetConfigType("ÿaml")
viper.SetConfigType("yaml")
viper.SetConfigName(filepath.Base(tokenFile))
viper.MergeInConfig()
} else {
Expand Down

0 comments on commit 0580650

Please sign in to comment.