Skip to content

Commit

Permalink
fix: consider depType when deduplicating updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jan 14, 2019
1 parent b1d90ca commit 78f0803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workers/pr/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async function ensurePr(prConfig) {

// Get changelog and then generate template strings
for (const upgrade of upgrades) {
const upgradeKey = `${upgrade.depName}-${
const upgradeKey = `${upgrade.depType}-${upgrade.depName}-${
upgrade.manager
}-${upgrade.fromVersion || upgrade.currentValue}-${upgrade.toVersion}`;
if (processedUpgrades.includes(upgradeKey)) {
Expand Down

0 comments on commit 78f0803

Please sign in to comment.