From b3eedc4ba29e8f207128662583114a64ad886c28 Mon Sep 17 00:00:00 2001 From: Subramanian Venkatesan Date: Mon, 10 Sep 2018 23:12:04 +0530 Subject: [PATCH] embark config --- lib/modules/plugin_cmd/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules/plugin_cmd/index.js b/lib/modules/plugin_cmd/index.js index c38d551e9..a73525744 100644 --- a/lib/modules/plugin_cmd/index.js +++ b/lib/modules/plugin_cmd/index.js @@ -2,9 +2,9 @@ let fs = require('./../../core/fs.js'); let utils = require('./../../utils/utils.js'); let async = require('async'); class PluginCommand { - constructor(embark, config) { + constructor(embark) { this.embark = embark; - this.config = config; + this.config = this.embark.pluginConfig; this.embarkConfig = this.config.embarkConfig; this.registerCommand(); }