Skip to content

Commit

Permalink
feat: added config path log
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Nov 30, 2022
1 parent 6350dde commit 5a3a80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/parse/types/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func ReadConfig(cfg *Config) (config.Config, error) {

// Make sure the path exists
if _, err := os.Stat(file); os.IsNotExist(err) {
return config.Config{}, fmt.Errorf("config file does not exist. Make sure you have run the init command")
return config.Config{}, fmt.Errorf("config file does not exist (%s). Make sure you have run the init command", file)
}

// Read the config
Expand Down

0 comments on commit 5a3a80f

Please sign in to comment.