ApeWorX / ethpm-types

Implementation of EIP-2678
Apache License 2.0
14 stars 8 forks source link

fix: issue with empty file sources #117

Closed antazoey closed 6 months ago

antazoey commented 6 months ago

What I did

There was a bug where if a file was empty,
it would try to use the empty str as a
dict to create the source content, due to an improper
truthy check.

How I did it

How to verify it

Checklist