diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-10-02 18:42:51 -0700 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-10-02 18:43:25 -0700 |
commit | c953871ec76528f638af8613d40051cd6c48be72 (patch) | |
tree | d21786bf52a12f8c44f19a9a28f0f7573d3da96e /pkg/gui/services | |
parent | b0c19b291ff50575d1911d58c8d9058bef1c9db8 (diff) |
use lowercase 'quote' for consistency with existing custom command template functions
Diffstat (limited to 'pkg/gui/services')
-rw-r--r-- | pkg/gui/services/custom_commands/handler_creator.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/services/custom_commands/handler_creator.go b/pkg/gui/services/custom_commands/handler_creator.go index 9b30041e3..bad972bd6 100644 --- a/pkg/gui/services/custom_commands/handler_creator.go +++ b/pkg/gui/services/custom_commands/handler_creator.go @@ -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) } |