ChainSafe / ChainSafe/truffle-plugin-abigen

When `abigenBindings` directory doesn't exist `truffle run abigen` fails

Open
#7 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
Solidity
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi,
Thanks for the great package!

I found when `abigenBindings` directory doesn't exist `truffle run abigen` fails.

https://github.com/ChainSafe/truffle-plugin-abigen/blob/cd3ff144482cdfb57f4e35b67308cce21d3ef8fb/index.js#L90-L99

That's because in `createDirectories` `fs.rmdirSync` throw an error so `fs.mkdirSync`s are not evaled.

Please document to create `abigenBindings` directory or fix the function.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.