Append ".js" suffix only once for scaffolded files
Closed this issue · 1 comments
marcuspoehls commented
When scaffolding a new route via make:route login
the resulting file is app/routes/login.js
.
At this point, the Craft command will always append .js
to the defined name. The result of make:route login.js
is app/routes/login.js.js
.
Task
- ensure the resulting file has only a single
.js
extension
marcuspoehls commented
Closed by #35