generator icon indicating copy to clipboard operation
generator copied to clipboard

Variables – Hyphens aren't escaped correctly

Open derekr opened this issue 12 years ago • 1 comments

When providing a project name with a hyphen, it gets escaped in all instances.

generate -t npm -n my-mod

turns in to

package.json

...
"name": "my\-mod",
...

derekr avatar Sep 10 '13 18:09 derekr

@thisandagain, please fix it!

MagicCube avatar Aug 05 '17 02:08 MagicCube