Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Jan 27, 2022
1 parent e0e5935 commit b95748a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gcommands/cli",
"version": "0.1.1-cli",
"version": "0.1.2-cli",
"description": "Generate projects, components, etc",
"type": "module",
"main": "dist/cli.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/generateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const downloadCommandJob = (config, response) => {
content = content
.replace('{name}', response['component-name'])
.replace('{description}', response['command-description'])
.replace('{type}', JSON.stringify(response['command-types'], null, 2).replace(/"/g, ''));
.replace('{type}', `[ ${response['command-types']} ]`);
} else if (type === 'listener') {
content = content
.replace('{name}', response['component-name'])
Expand Down

0 comments on commit b95748a

Please sign in to comment.