Skip to content

Commit

Permalink
Attempt to fix brain fart from https://github.com/rhyskoedijk
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Sep 25, 2024
1 parent e6d0ba9 commit 7b0ed03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/tasks/dependabotV2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async function run() {
}

// If there are existing pull requests, run an update job for each one; this will resolve merge conflicts and close pull requests that are no longer needed
if (existingPullRequests && existingPullRequests.keys.length > 0) {
if (existingPullRequests && Object.keys(existingPullRequests).length > 0) {
if (!taskInputs.skipPullRequests) {
for (const pullRequestId in existingPullRequests) {
const updatePullRequestJob = DependabotJobBuilder.newUpdatePullRequestJob(
Expand Down

0 comments on commit 7b0ed03

Please sign in to comment.