Skip to content

Commit

Permalink
fix(cmd): Fix stack overflow when a single file is templated
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 11, 2024
1 parent c3d8e53 commit efc1674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit efc1674

Please sign in to comment.