Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (33f3fee 2023-05-27T00:03:28.386134290Z)
What command(s) is the bug in?
forge flatten -C src -o src/flatten/1.0/MyContract.sol src/1.0/MyContract.sol
Operating System
Linux
Describe the bug
Here's what I run:
$ forge install ProjectOpenSea/seadrop
then I put remappings.txt in my root project as shown on the pic (right side), the other one is from opensea's drop repo (I create another issue see the left side of the pic).

What I notice is this:
- In the seadrop's remappings.txt, the
openzeppelin-contracts remapped to openzeppelin-contracts/contracts
- but in the
forge remappings output, the /contracts was missing.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (33f3fee 2023-05-27T00:03:28.386134290Z)
What command(s) is the bug in?
forge flatten -C src -o src/flatten/1.0/MyContract.sol src/1.0/MyContract.sol
Operating System
Linux
Describe the bug
Here's what I run:
then I put
remappings.txtin my root project as shown on the pic (right side), the other one is from opensea's drop repo (I create another issue see the left side of the pic).What I notice is this:
openzeppelin-contractsremapped toopenzeppelin-contracts/contractsforge remappingsoutput, the/contractswas missing.