Cannot read file with 0 in the file name.
gsangeryee opened this issue · 1 comments
gsangeryee commented
The tool cannot read files with 0
in the file name. Such as contracts/lending/tokens/cErc20ModifiedDelegator.sol
, contracts/lending/tokens/cToken/CErc20.sol
In the src/index.ts#L32
for (const word of [...content.matchAll(/[a-zA-Z\/\.\-\_1-9]+/g)].map(r => r[0])) {
Suggestion:
for (const word of [...content.matchAll(/[a-zA-Z\/\.\-\_0-9]+/g)].map(r => r[0])) {
Picodes commented
Thanks for reporting!