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: return early if chain dir does not exist #1589

Merged

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented May 12, 2022

Motivation

As discovered here gakonst/ethers-rs#1249 forge cache ls <chain> can fail if the chain dir does not exist

Solution

return early if dir does not exist

@mattsse mattsse added the T-bug Type: bug label May 12, 2022
@mattsse mattsse merged commit f6131da into foundry-rs:master May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants