@@ -382,16 +382,16 @@ function cli(inputArgs) {
382382 // Pass nopt-parsed args to PlatformApi through opts.options
383383 opts . options = args ;
384384 opts . options . argv = unparsedArgs ;
385- if ( cmd === 'run' && args . list && cordova . raw . targets ) {
386- return cordova . raw . targets . call ( null , opts ) ;
385+ if ( cmd === 'run' && args . list && cordova . targets ) {
386+ return cordova . targets . call ( null , opts ) ;
387387 }
388- return cordova . raw [ cmd ] . call ( null , opts ) ;
388+ return cordova [ cmd ] . call ( null , opts ) ;
389389
390390 } else if ( cmd === 'requirements' ) {
391391 // All options without dashes are assumed to be platform names
392392 opts . platforms = undashed . slice ( 1 ) ;
393393
394- return cordova . raw [ cmd ] . call ( null , opts . platforms )
394+ return cordova [ cmd ] . call ( null , opts . platforms )
395395 . then ( function ( platformChecks ) {
396396
397397 var someChecksFailed = Object . keys ( platformChecks ) . map ( function ( platformName ) {
@@ -425,7 +425,7 @@ function cli(inputArgs) {
425425 } ) ;
426426 } else if ( cmd === 'serve' ) {
427427 var port = undashed [ 1 ] ;
428- return cordova . raw . serve ( port ) ;
428+ return cordova . serve ( port ) ;
429429 } else if ( cmd === 'create' ) {
430430 return create ( undashed , args ) ;
431431 } else if ( cmd === 'config' ) {
@@ -481,7 +481,7 @@ function cli(inputArgs) {
481481 , shrinkwrap : args . shrinkwrap || false
482482 , force : args . force || false
483483 } ;
484- return cordova . raw [ cmd ] ( subcommand , targets , download_opts ) ;
484+ return cordova [ cmd ] ( subcommand , targets , download_opts ) ;
485485 }
486486}
487487
@@ -528,7 +528,7 @@ function create(undashed, args) {
528528 cfg . lib = cfg . lib || { } ;
529529 cfg . lib . www = wwwCfg ;
530530 }
531- return cordova . raw . create ( undashed [ 1 ] // dir to create the project in
531+ return cordova . create ( undashed [ 1 ] // dir to create the project in
532532 , undashed [ 2 ] // App id
533533 , undashed [ 3 ] // App name
534534 , cfg
0 commit comments