Skip to content

Commit

Permalink
refactor(cmd): root
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Aug 28, 2020
1 parent c193332 commit f082a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var rootCmd = &cobra.Command{
func init() {
cfgFile := rootCmd.PersistentFlags().String("config", "", "config file path (default ./gilfoyle.yaml")

err := config.NewConfig(cfgFile)
err := config.NewConfig(*cfgFile)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit f082a70

Please sign in to comment.