Skip to content

Commit

Permalink
fix: enable stalled days option (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
numb86 authored Mar 4, 2020
1 parent 490ab75 commit 78127d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export const cli = meow(
excludesBranchPatterns: {
type: "string"
},
stalledDays: {
type: "number"
},
baseUrl: {
type: "string"
},
Expand Down Expand Up @@ -74,6 +77,7 @@ export const run = (_input = cli.input, flags = cli.flags) => {
excludesBranchPatterns: flags.excludesBranchPatterns
? splitByComma(flags.excludesBranchPatterns)
: config.excludesBranchPatterns,
stalledDays: flags.stalledDays ?? config.stalledDays,
baseUrl: flags.baseUrl ?? config.baseUrl,
token: flags.token ?? config.token ?? process.env.GITHUB_TOKEN,
dryRun: flags.dryRun ?? config.dryRun
Expand Down

0 comments on commit 78127d5

Please sign in to comment.