Closed Nilotaviano closed 1 year ago
isText with only the filename returns null for .sol files. The actual file content should be passed along with the file name to fix this.
isText
.sol
Simple example:
->isText("Lens.sol") null ->isText("Lens.sol", fs.readFileSync('Lens.sol')) true
Thanks for submitting this. I'll merge it tonight.
isText
with only the filename returns null for.sol
files. The actual file content should be passed along with the file name to fix this.