This commit is contained in:
Iuri Matias 2018-07-30 15:17:54 -04:00
parent 358c9b2531
commit 52462dbd3c
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ const Viz = require('viz.js');
const fs = require('fs'); const fs = require('fs');
class GraphGenerator { class GraphGenerator {
constructor(embark, options) { constructor(embark, _options) {
const self = this; const self = this;
this.events = embark.events; this.events = embark.events;
this.contracts = []; this.contracts = [];
@ -145,7 +145,7 @@ class GraphGenerator {
} }
getContract(contractName) { getContract(contractName) {
return this.contracts.find((contract) => { return contract.className === contractName }); return this.contracts.find((contract) => { return contract.className === contractName; });
} }
} }