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:
commit
a8c73f1ff2
@ -136,7 +136,7 @@ func NewAppConfig(
|
||||
}
|
||||
|
||||
func ConfigDir() string {
|
||||
_, filePath := findConfigFile("config.yml")
|
||||
_, filePath := findConfigFile(ConfigFilename)
|
||||
|
||||
return filepath.Dir(filePath)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user