supercharge/framework

Append ".js" suffix only once for scaffolded files

Closed this issue · 1 comments

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

Closed by #35