From dd7984bcda6a70c079bc61f041b88f47ebdee8e7 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sun, 2 Apr 2017 14:49:19 -0400 Subject: [PATCH] use version from constructor parameter --- lib/dashboard/monitor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dashboard/monitor.js b/lib/dashboard/monitor.js index 0e0f1e5e..aaafe736 100644 --- a/lib/dashboard/monitor.js +++ b/lib/dashboard/monitor.js @@ -2,11 +2,10 @@ let blessed = require("blessed"); let CommandHistory = require('./command_history.js'); -let version = require('../../package.json').version; class Dashboard { constructor(options) { - let title = (options && options.title) || "Embark " + version; + let title = (options && options.title) || "Embark " + options.version; this.env = options.env; this.console = options.console; this.history = new CommandHistory();