Skip to content

Commit

Permalink
nyn: fix config path
Browse files Browse the repository at this point in the history
  • Loading branch information
diredocks committed Oct 22, 2024
1 parent 30e56dd commit d93d984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nyn/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {

var config Config
// Decode the TOML file into the config struct
if _, err := toml.DecodeFile("config.toml", &config); err != nil {
if _, err := toml.DecodeFile(*filePath, &config); err != nil {
log.Fatalf("Error decoding TOML file: %v", err)
}

Expand Down

0 comments on commit d93d984

Please sign in to comment.