mirror of https://github.com/embarklabs/embark.git
use version from constructor parameter
This commit is contained in:
parent
86335e0c74
commit
dd7984bcda
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue