Skip to content

.soldeerignore does not ignore some patterns after exclamation mark #69

Closed
@ericglau

Description

My .soldeerignore file is based on my .gitignore file, which has the following from Foundry's default template:

!/broadcast
/broadcast/*/31337/
/broadcast/**/dry-run/

The expectation is that the 31337 and dry-run subdirectories should be ignored, even though /broadcast is not ignored.

However, doing a push still results in those files being included.

For example, this can be seen in the openzeppelin-foundry-upgrades~0.3.1 package after installing it:
Screenshot 2024-06-25 at 3 09 10 PM

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions