Skip to content

Conversation

grandizzy
Copy link
Contributor

@grandizzy grandizzy commented Aug 1, 2025

ref foundry-rs/foundry#6706
tested and confirm solves foundry-rs/foundry#8499 too

@grandizzy grandizzy marked this pull request as ready for review August 1, 2025 11:16
Copy link
Contributor

@0xrusowsky 0xrusowsky left a comment

Choose a reason for hiding this comment

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

changes make sense to me + i don't see any unintended downstream effects

});

if !s.ends_with('/') {
if !s.ends_with('/') && !s.ends_with(".sol") {
Copy link
Member

Choose a reason for hiding this comment

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

can we extract these conditions to a helper function?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added in 49289cc

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

I see, that makes sense,

agree with @DaniPopes , we can make this a smol helper fn and ideally reference this pr in the fn docs

@grandizzy grandizzy force-pushed the single-file-remapping branch from df99349 to 49289cc Compare August 1, 2025 15:17
@grandizzy grandizzy merged commit f6e4e6a into foundry-rs:main Aug 1, 2025
15 checks passed
@grandizzy grandizzy deleted the single-file-remapping branch August 1, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants