Skip to content

Commit

Permalink
Accept .config/air.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
bersace authored Dec 12, 2024
1 parent 7019f7a commit 6bce521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func writeDefaultConfig() (string, error) {

func defaultPathConfig() (*Config, error) {
// when path is blank, first find `.air.toml`, `.air.conf` in `air_wd` and current working directory, if not found, use defaults
for _, name := range []string{dftTOML, dftConf} {
for _, name := range []string{dftTOML, dftConf, ".config/air.toml"} {
cfg, err := readConfByName(name)
if err == nil {
if name == dftConf && !cfg.Log.Silent {
Expand Down

0 comments on commit 6bce521

Please sign in to comment.