Skip to content

Commit

Permalink
fix: stabilityStatus non-null check
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Mar 14, 2021
1 parent 926f23f commit 717e4e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/workers/pr/index.ts
Expand Up @@ -216,7 +216,8 @@ export async function ensurePr(
);
if (
!dependencyDashboardCheck &&
(config.stabilityStatus !== BranchStatus.yellow ||
((config.stabilityStatus &&
config.stabilityStatus !== BranchStatus.yellow) ||
elapsedHours < config.prNotPendingHours)
) {
logger.debug(
Expand Down

0 comments on commit 717e4e6

Please sign in to comment.