Skip to content

Commit

Permalink
fix: test dryrun fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertk committed Apr 24, 2020
1 parent eb65623 commit a908afa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entrypoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ function getAndValidateInputs() {
exemptPrLabel: process.env.EXEMPT_PR_LABEL,
responseRequestedLabel: process.env.RESPONSE_REQUESTED_LABEL,
minimumUpvotesToExempt: parseInt(process.env.MINIMUM_UPVOTES_TO_EXEMPT),
dryrun: !!process.env.DRYRUN,
dryrun: (String(process.env.DRYRUN).toLowerCase() === 'true'),
};

log.debug(process.env);
log.debug(`dryrun: ${!!process.env.DRYRUN}`);
log.debug(`dryrun: ${!!args.dryrun}`);
for (const numberInput of [
args.daysBeforeAncient,
args.daysBeforeClose,
Expand Down

0 comments on commit a908afa

Please sign in to comment.