Skip to content

Creating a template with kebab case and gill adds repetition to the program name #192

@TomieDotTV

Description

@TomieDotTV

Whenever I create a template and name it kebab case, the name gets botched. For example, the name my-counter will generate in the cargo.toml file a program with the name mymymycounter.

How to reproduce:

  1. Run in your terminal npx create-solana-dapp.
  2. Give your project the name my-counter.
  3. Choose the gill with counter template option.
  4. cd in the project and install the dependencies.
  5. Open the anchor/programs/counter/src/lib.rs file.
  6. Notice my-counter is now mymymycounter.
  7. This happens in other files too.
Image

Metadata

Metadata

Assignees

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