Skip to content

Commit d60fe43

Browse files
committed
Replace literal with ConfigFilename constant
Signed-off-by: Mateusz Łoskot <[email protected]>
1 parent 8280fde commit d60fe43

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)