From efc1674bef16eb43bd9076412e1a87ed920ff356 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Thu, 11 Apr 2024 10:58:53 -0500 Subject: [PATCH] fix(cmd): Fix stack overflow when a single file is templated --- cmd/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index 21e86c9..70f9ec1 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -197,7 +197,7 @@ func openAndTemplate(cmd *cobra.Command, conf *config.Config, path string) error }) } - return openAndTemplate(cmd, conf, path) + return openAndTemplateFile(cmd, conf, path) } func openAndTemplateFile(cmd *cobra.Command, conf *config.Config, p string) error {