1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

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.
This commit is contained in:
Stefan Haller
2025-05-31 17:34:06 +02:00
committed by GitHub

View File

@ -136,7 +136,7 @@ func NewAppConfig(
} }
func ConfigDir() string { func ConfigDir() string {
_, filePath := findConfigFile("config.yml") _, filePath := findConfigFile(ConfigFilename)
return filepath.Dir(filePath) return filepath.Dir(filePath)
} }