Update function complexity

This commit is contained in:
Andre Medeiros 2018-09-26 11:23:52 -04:00
parent fa8f4b4e41
commit b1f9097824

View File

@ -102,7 +102,7 @@ class ContractSource {
Object.values(this.contractBytecode).every((contractBytecode) => { return (Object.values(contractBytecode).length <= 1); });
}
/*eslint complexity: ["error", 38]*/
/*eslint complexity: ["error", 39]*/
generateCodeCoverage(trace) {
if(!this.ast || !this.contractBytecode) throw new Error('Error generating coverage: solc output was not assigned');