This commit is contained in:
Jonathan Rainville 2018-08-14 15:46:26 -04:00 committed by Iuri Matias
parent 5f3dd25e06
commit d4abed24eb
1 changed files with 4 additions and 4 deletions

View File

@ -178,7 +178,7 @@ class ENS {
paraCb(null, resolver); paraCb(null, resolver);
}); });
} }
], function (err, contracts) { ], function(err, contracts) {
if (err) { if (err) {
return cb(err); return cb(err);
} }
@ -199,10 +199,10 @@ class ENS {
const self = this; const self = this;
// get namehash, import it into file // get namehash, import it into file
self.events.request("version:get:eth-ens-namehash", function (EnsNamehashVersion) { self.events.request("version:get:eth-ens-namehash", function(EnsNamehashVersion) {
let currentEnsNamehashVersion = require('../../../package.json').dependencies["eth-ens-namehash"]; let currentEnsNamehashVersion = require('../../../package.json').dependencies["eth-ens-namehash"];
if (EnsNamehashVersion !== currentEnsNamehashVersion) { if (EnsNamehashVersion !== currentEnsNamehashVersion) {
self.events.request("version:getPackageLocation", "eth-ens-namehash", EnsNamehashVersion, function (err, location) { self.events.request("version:getPackageLocation", "eth-ens-namehash", EnsNamehashVersion, function(err, location) {
self.embark.registerImportFile("eth-ens-namehash", fs.dappPath(location)); self.embark.registerImportFile("eth-ens-namehash", fs.dappPath(location));
}); });
} }