Skip to content

Commit

Permalink
Assume that our dependencies are installed
Browse files Browse the repository at this point in the history
  • Loading branch information
raphinesse committed Jul 4, 2018
1 parent 185af06 commit 55eba23
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55eba23

Please sign in to comment.