Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
artfuldev committed Sep 10, 2024
1 parent 8c1b272 commit ad8ec19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bugs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import yargs from "yargs";
import { hideBin } from "yargs/helpers";
import { extract, review } from "./commands";

// Fix process name in commands
process.argv = process.argv.map((x, i) => (i === 0 ? "bugs" : x));
process.argv = ["bugs", ""].concat(process.argv.slice(2));

yargs(hideBin(process.argv))
.option("verbose", {
Expand Down

0 comments on commit ad8ec19

Please sign in to comment.