1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-10 23:57:43 +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
commit a8c73f1ff2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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