Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

'eosio-init -p xxx' should camelize argument when make a contract skeleton #369

Closed
drunkhacker opened this issue Jan 18, 2019 · 1 comment

Comments

@drunkhacker
Copy link

This line uses the argument passed from eosio-init -p without sanitizing or such. If I pass a Kebab case string e.g., 'hello-world', this will create CONTRACT hello-world which is not valid name for a class.

It'd be good to camelize the input string or prevent the string cannot be used as identifier in C++.

@jeffreyssmith2nd
Copy link
Contributor

This was handled in #370, closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants