Closed samhh closed 7 years ago
As it was coded with a string and not regex, it will only replace one instance of the found double quotes. Fix by using regex.
A real WTF JavaScript moment there.
https://github.com/imperodesign/generator-impero/blob/master/generators/app/templates/package.json#L4
https://github.com/imperodesign/generator-impero/commit/e58c2dd82bef483267a1642d87101d0933fa00ec
As it was coded with a string and not regex, it will only replace one instance of the found double quotes. Fix by using regex.
A real WTF JavaScript moment there.
https://github.com/imperodesign/generator-impero/blob/master/generators/app/templates/package.json#L4