comply with linter

This commit is contained in:
Iuri Matias 2018-04-20 19:59:47 -04:00
parent a63aa2ea0f
commit ade2ad1a67
1 changed files with 0 additions and 3 deletions

View File

@ -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});