mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
use lowercase 'quote' for consistency with existing custom command template functions
This commit is contained in:
parent
b0c19b291f
commit
c953871ec7
3 changed files with 3 additions and 3 deletions
|
@ -168,7 +168,7 @@ func (self *HandlerCreator) getResolveTemplateFn(form map[string]string, promptR
|
|||
}
|
||||
|
||||
funcs := template.FuncMap{
|
||||
"Quote": self.os.Quote,
|
||||
"quote": self.os.Quote,
|
||||
}
|
||||
|
||||
return func(templateStr string) (string, error) { return utils.ResolveTemplate(templateStr, objects, funcs) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue