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

Merged
merged 6 commits into from
Jan 22, 2025

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

Copy link
Member

@klkvr klkvr left a comment

Choose a reason for hiding this comment

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

makes sense

@klkvr
Copy link
Member

klkvr commented Jan 21, 2025

pending small conflict

@grandizzy grandizzy enabled auto-merge (squash) January 22, 2025 13:42
@grandizzy grandizzy merged commit 34ab235 into foundry-rs:master Jan 22, 2025
22 checks passed
@grandizzy grandizzy added the T-likely-breaking Type: requires changes that can be breaking label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-likely-breaking Type: requires changes that can be breaking
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

security: automatic remappings can be dangerous
3 participants