jshint it

This commit is contained in:
Iuri Matias 2016-10-02 18:47:26 -04:00
parent 8711b75462
commit 8a1fd3a165
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ var DeployTracker = function(options) {
if (this.chainConfig === false) { if (this.chainConfig === false) {
this.currentChain = {contracts: []}; this.currentChain = {contracts: []};
return; return;
}; }
var block = this.web3.eth.getBlock(0); var block = this.web3.eth.getBlock(0);
var chainId = block.hash; var chainId = block.hash;
@ -46,7 +46,7 @@ DeployTracker.prototype.getContract = function(contractName, code, args) {
// TODO: abstract this // TODO: abstract this
// chainConfig can be an abstract PersistentObject // chainConfig can be an abstract PersistentObject
DeployTracker.prototype.save = function() { DeployTracker.prototype.save = function() {
if (this.chainConfig === false) { return }; if (this.chainConfig === false) { return; }
fs.writeFileSync("./chains.json", prettyJson(this.chainConfig)); fs.writeFileSync("./chains.json", prettyJson(this.chainConfig));
}; };