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

Replace literal with ConfigFilename constant

Signed-off-by: Mateusz Łoskot <mateusz@loskot.net>
This commit is contained in:
Mateusz Łoskot
2025-05-31 02:28:39 +02:00
parent 8280fdedb7
commit d60fe437ef

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)
} }