Skip to content

Commit

Permalink
chore: bump package
Browse files Browse the repository at this point in the history
  • Loading branch information
mattzcarey committed Jul 16, 2023
1 parent b821ec7 commit 4a976b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4a976b0

Please sign in to comment.