Skip to content
Permalink
Browse files
Assume that our dependencies are installed
  • Loading branch information
raphinesse committed Jul 4, 2018
1 parent 185af06 commit 55eba23664cefc692bd5199e0966bf1f9e5ce21a
Showing 1 changed file with 4 additions and 17 deletions.
21 main.js
@@ -23,23 +23,10 @@ var path = require('path')
, package = require(path.join(__dirname, 'package'))
, help = require('./src/help')
, url = require('url')
, nopt
, Q
, cordova_lib
, plugman;

try {
nopt = require('nopt');
Q = require('q');
cordova_lib = require('cordova-lib');
plugman = cordova_lib.plugman;
} catch(e) {
console.error(
'Please run npm install from this directory:\n\t' +
__dirname
);
process.exit(2);
}
, nopt = require('nopt')
, Q = require('q')
, cordova_lib = require('cordova-lib')
, plugman = cordova_lib.plugman;

var known_opts = { 'platform' : [ 'ios', 'osx', 'android', 'amazon-fireos', 'blackberry10', 'wp8' , 'windows8', 'windows', 'firefoxos' ]
, 'project' : path

0 comments on commit 55eba23

Please sign in to comment.