Skip to content

Commit

Permalink
Fix template name javascript in 'add' command
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaug6739 committed Nov 1, 2021
1 parent 1c82196 commit 3d1b591
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sheweny/cli",
"description": "Cli for sheweny framework",
"version": "1.1.2",
"version": "1.1.3",
"main": "lib/cli.js",
"bin": {
"sheweny": "bin/sheweny",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/add/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ${options.config!.template === "javascript" ? "module.exports =" : "export"} cla
}) {
super(client,
{
name : "${options.addName}"
name : "${options.addName}",
description: "${options.commandOptions!.description}",
category: "${options.commandOptions!.category}",
cooldown: ${options.commandOptions!.cooldown},
Expand Down

0 comments on commit 3d1b591

Please sign in to comment.