solidity-protobuf icon indicating copy to clipboard operation
solidity-protobuf copied to clipboard

fix: check for location when extracting npm path

Open CyrusVorwald opened this issue 2 years ago • 1 comments

resolves null error when calling gen_runtime=ProtoBufRuntime.sol instead of gen_runtime=./ProtoBufRuntime.sol

CyrusVorwald avatar Nov 28 '22 06:11 CyrusVorwald

i used location.StartsWith and it worked too.

dzmitry-lahoda avatar Sep 30 '23 16:09 dzmitry-lahoda