Skip to content

BUG: Cargo generate broken due to init.rhai #19

@tom-flaherty

Description

@tom-flaherty

Describe the bug
Using the suggested
cargo generate -g https://github.com/dysonltd/commitment-issues --init
Returns this error:
Error: Failed executing script: init.rhai
Caused by:
Syntax error: Unexpected '!' (line 8, position 88l

To Reproduce
Steps to reproduce the behavior:
Create a cargo project and run
cargo generate -g https://github.com/dysonltd/commitment-issues --init

Expected behaviour
The CLI should start asking questions about the repository.

Hardware (please complete the following information):

  • OS: Ubuntu

Additional context
This is due to changes in the handling of quotes "

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions