From 3d240c9d84c7705e6c8f03533889742a4d418d83 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Thu, 23 Feb 2017 20:50:55 -0500 Subject: [PATCH] temporary fix for --nodashboard issue in develop --- lib/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 370b3b54..a661037a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -318,7 +318,9 @@ var Embark = { var consoleABI = abiGenerator.generateABI({useEmbarkJS: false}); // not good, better generate events when deployment is done and do this // through a listener - Embark.dashboard.console.runCode(consoleABI); + if (Embark.dashboard) { + Embark.dashboard.console.runCode(consoleABI); + } callback(null, contractsManager); }, function generateABI(contractsManager, callback) {