diff --git a/lib/modules/ens/index.js b/lib/modules/ens/index.js index d1345c8ba..f0206b8f7 100644 --- a/lib/modules/ens/index.js +++ b/lib/modules/ens/index.js @@ -56,7 +56,6 @@ class ENS { configureENSRegistry() { const self = this; - console.log("DIS DIR RIGHT HEYA: ", __dirname); self.embark.registerContractConfiguration({ "default": { "gas": "auto", @@ -88,8 +87,8 @@ class ENS { } addSetProvider(config) { - - let code = "\nEmbarkJS.Names.setProvider('ens'," + config + ");"; + + let code = "\nEmbarkJS.Names.setProvider('ens'," + JSON.stringify(config) + ");"; let shouldInit = (namesConfig) => { return (namesConfig.provider === 'ens' && namesConfig.enabled === true);