Skip to content

Commit

Permalink
fix(manager/pep621): prevent side effects through shallow copy (#30605)
Browse files Browse the repository at this point in the history
  • Loading branch information
secustor committed Aug 5, 2024
1 parent 5bdb821 commit 8e97c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/manager/pep621/processors/pdm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class PdmProcessor implements PyProjectProcessor {
registryUrls.push(source.url);
}
for (const dep of deps) {
dep.registryUrls = registryUrls;
dep.registryUrls = [...registryUrls];
}

return deps;
Expand Down

0 comments on commit 8e97c90

Please sign in to comment.