1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +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 {
_, filePath := findConfigFile("config.yml")
_, filePath := findConfigFile(ConfigFilename)
return filepath.Dir(filePath)
}