comply with linter
This commit is contained in:
parent
a63aa2ea0f
commit
ade2ad1a67
|
@ -1,4 +1,3 @@
|
||||||
let utils = require('../utils/utils.js');
|
|
||||||
let fs = require('../core/fs.js');
|
let fs = require('../core/fs.js');
|
||||||
|
|
||||||
let PluginManager = require('live-plugin-manager').PluginManager;
|
let PluginManager = require('live-plugin-manager').PluginManager;
|
||||||
|
@ -10,8 +9,6 @@ class Npm {
|
||||||
}
|
}
|
||||||
|
|
||||||
getPackageVersion(packageName, version, callback) {
|
getPackageVersion(packageName, version, callback) {
|
||||||
let self = this;
|
|
||||||
let npmRegistry = "https://registry.npmjs.org/" + packageName + "/" + version;
|
|
||||||
let packageDirectory = './.embark/versions/' + packageName + '/' + version + '/';
|
let packageDirectory = './.embark/versions/' + packageName + '/' + version + '/';
|
||||||
|
|
||||||
let manager = new PluginManager({pluginsPath: packageDirectory});
|
let manager = new PluginManager({pluginsPath: packageDirectory});
|
||||||
|
|
Loading…
Reference in New Issue