Skip to content

Commit

Permalink
fix: set base path for VALE_CONFIG_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Jul 4, 2023
1 parent cc59245 commit f7b6612
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/core/ini.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ func loadINI(cfg *Config, dry bool) error {
return NewE100("invalid VALE_CONFIG_PATH", err)
}
cfg.Root = filepath.Dir(fromEnv)
cfg.Flags.Path = fromEnv
} else {
// We're using a config file found using a local search process.
uCfg, err = shadowLoad(base)
Expand Down

0 comments on commit f7b6612

Please sign in to comment.