Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(remappings): ignore conflicting remappings #9521

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grandizzy
Copy link
Collaborator

Motivation

Closes #9146

check if name of new remapping to be added starts with existing remapping name instead the other way around
e.g. if @utils remapping is already added in proj root then @utils/libraries from lib should not be added

Add test to cover #9271 regression

Solution

@grandizzy grandizzy marked this pull request as ready for review December 9, 2024 11:27
Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, pending other reviews

cc @klkvr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

security: automatic remappings can be dangerous
2 participants