mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04: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:
commit
a8c73f1ff2
|
|
@ -136,7 +136,7 @@ func NewAppConfig(
|
|||
}
|
||||
|
||||
func ConfigDir() string {
|
||||
_, filePath := findConfigFile("config.yml")
|
||||
_, filePath := findConfigFile(ConfigFilename)
|
||||
|
||||
return filepath.Dir(filePath)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue