Skip to content

Commit a8c73f1

Browse files
authored
Replace literal with ConfigFilename constant (#4613)
A tiny clean-up where I assume it is a good idea to re-use the common specification of the `"config.yml"` name.
2 parents 8280fde + d60fe43 commit a8c73f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/app_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func NewAppConfig(
136136
}
137137

138138
func ConfigDir() string {
139-
_, filePath := findConfigFile("config.yml")
139+
_, filePath := findConfigFile(ConfigFilename)
140140

141141
return filepath.Dir(filePath)
142142
}

0 commit comments

Comments
 (0)