mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +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:
@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user