mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-28 16:02:01 +03:00
use lowercase 'quote' for consistency with existing custom command template functions
This commit is contained in:
@ -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) }
|
||||
|
Reference in New Issue
Block a user