Sven Kanoldt

Results 174 comments of Sven Kanoldt

What I did to try to reproduce it: ``` ❯ cat ~/.cargo/cargo-generate.toml [favorites.hooks] git = "https://github.com/cargo-generate/cargo-generate" subfolder = "example-templates/hooks" ``` Then run cargo generate from the branch ``` cargo run...

Thanks for the issue. The reason the whole git dir is skipped was that the target project should not receive any of template repo related git info's. While your suggestion...

To give you more context on the security considerations, please imagine a project structure that has a `.env` file on the project root level and it has secrets inside. Now...

One more thing that makes it trickier is that all rhai hooks are purged before the project is copied over to the final destination. But what might work and not...

maybe you can share the things you've tried and how this example looks like?

The docs states the following: ![Image](https://github.com/user-attachments/assets/55be8207-c99d-45ad-ad74-50bbdc77f3e0) [see the docs..](https://shopify.github.io/liquid/basics/types/#array) However, I tried it on the `example-templates/arrays/README.md.liquid` like this: ``` # in line 40 [features] {%- if features == empty %}...

It may sounds trivial, but can you please provide a example to avoid misunderstandings?

Seems right now it is not supported, because we have some wrong assumptions built in. But I would consider this actually a bug. Here is an example how it is...