diff --git a/package.json b/package.json index 108bfe14..eab022be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "code-review-gpt", - "version": "0.0.19", + "version": "0.0.20", "description": "Your AI code reviewer", "bin": { "code-review-gpt": "./dist/index.js" diff --git a/src/args.ts b/src/args.ts index fd686af6..8838d341 100644 --- a/src/args.ts +++ b/src/args.ts @@ -14,10 +14,10 @@ export const getYargs = async () => { .command("configure", "Configure the script") .parseSync(); - if (argv.ci && !argv._[0]) { + if (argv.ci) { argv._[0] = "review"; console.info( - "Running in CI mode, defaulting to review. Please update the command to: npx code-review-gpt review" + "Running in CI mode, defaulting to review." ); return argv; }