From 60d1a86c070c4c942bc7200aaa789864f42f7e26 Mon Sep 17 00:00:00 2001 From: giosuetrapani Date: Mon, 26 Jun 2023 01:00:56 +0200 Subject: [PATCH] :bug: Fixed a console.log --- actions/actions.ts | 2 +- dist/actions/actions.js | 2 +- dist/utils.js | 1 - package.json | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/actions/actions.ts b/actions/actions.ts index 6c19af3..6467c2b 100644 --- a/actions/actions.ts +++ b/actions/actions.ts @@ -3,5 +3,5 @@ export const createLog = ({log}) => { } export const createError = ({error}) => { - console.log(error) + console.error(error) } \ No newline at end of file diff --git a/dist/actions/actions.js b/dist/actions/actions.js index f05a99e..483fb3b 100644 --- a/dist/actions/actions.js +++ b/dist/actions/actions.js @@ -6,6 +6,6 @@ const createLog = ({ log }) => { }; exports.createLog = createLog; const createError = ({ error }) => { - console.log(error); + console.error(error); }; exports.createError = createError; diff --git a/dist/utils.js b/dist/utils.js index 4a56d82..0c66679 100644 --- a/dist/utils.js +++ b/dist/utils.js @@ -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); }); }; diff --git a/package.json b/package.json index 637f2b1..686322d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@revodigital/revo-cli", - "version": "0.0.2", + "version": "0.0.3", "main": "index.ts", "bin": { "revo": "./dist/index.js"