Skip to content

Commit

Permalink
fix: don’t Object.assign first upgrade over config (#8892)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kriese <[email protected]>
  • Loading branch information
rarkins and viceice authored Feb 27, 2021
1 parent 3441882 commit bc10487
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/workers/pr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,6 @@ export async function ensurePr(
config.upgrades.push(upgrade);
}

// Update the config object
Object.assign(config, upgrades[0]);
config.hasReleaseNotes = config.upgrades.some((upg) => upg.hasReleaseNotes);

const releaseNoteRepos: string[] = [];
Expand Down

0 comments on commit bc10487

Please sign in to comment.