mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-10 22:16:20 +00:00
preprend embark to plugin name
This commit is contained in:
parent
ddb1872db5
commit
3e1db81d5b
@ -31,6 +31,9 @@ class PluginCommand {
|
||||
let npmInstall = ['npm', 'install', '--save'];
|
||||
npmInstall = npmInstall.concat(cmdArray.slice(2));
|
||||
let npmPackage = npmInstall[3];
|
||||
if (!npmPackage.startsWith('embark')) {
|
||||
npmPackage = 'embark-' + npmPackage;
|
||||
}
|
||||
self.embark.logger.info(__('Installing npm package %s...', npmPackage));
|
||||
async.waterfall([
|
||||
function npmInstallAsync(cb) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user