Skip to content

Commit

Permalink
🐛 Fixed a console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
giosuetrap2002 committed Jun 25, 2023
1 parent 65ab26c commit 60d1a86
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion actions/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export const createLog = ({log}) => {
}

export const createError = ({error}) => {
console.log(error)
console.error(error)
}
2 changes: 1 addition & 1 deletion dist/actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ const createLog = ({ log }) => {
};
exports.createLog = createLog;
const createError = ({ error }) => {
console.log(error);
console.error(error);
};
exports.createError = createError;
1 change: 0 additions & 1 deletion dist/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const createCommand = (program, action) => {
const myProgram = program.command(action);
createOptions(myProgram, action);
myProgram.action((args) => {
console.log(args);
(0, actionsModel_1.runAction)(action, args);
});
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@revodigital/revo-cli",
"version": "0.0.2",
"version": "0.0.3",
"main": "index.ts",
"bin": {
"revo": "./dist/index.js"
Expand Down

0 comments on commit 60d1a86

Please sign in to comment.