File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed
Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -691,18 +691,6 @@ Cli.printNewsUpdates = function printNewsUpdates(skipNewsCheck) {
691691 return q . promise ;
692692} ;
693693
694- //A little why on this reportExtras here -
695- //We need to access the CLI's package.json file
696- //for that, we need the path to be relative to this,
697- //not the node_module/ionic-app-lib directory
698- Cli . reportExtras = function reportExtras ( err ) {
699- var commandLineInfo = process . argv ;
700-
701- var info = Cli . gatherInfo ( ) ;
702- info . command = commandLineInfo ;
703- return info ;
704- } ;
705-
706694Cli . gatherInfo = function gatherInfo ( ) {
707695 var info = Info . gatherInfo ( ) ;
708696 Info . getIonicVersion ( info , process . cwd ( ) ) ;
@@ -757,10 +745,6 @@ Cli.getContentSrc = function getContentSrc() {
757745 return Utils . getContentSrc ( process . cwd ( ) ) ;
758746} ;
759747
760- Cli . setConfigXml = function setConfigXml ( settings ) {
761- return ConfigXml . setConfigXml ( process . cwd ( ) , settings ) ;
762- } ;
763-
764748Cli . doRuntimeCheck = function doRuntimeCheck ( version ) {
765749 var lastVersionChecked = IonicConfig . get ( 'lastVersionChecked' ) ;
766750 var versionHasBeenChecked ;
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ IonicTask.prototype.run = function(ionic, argv) {
104104 return self . setupLiveReload ( argv ) ;
105105 } else {
106106 // ensure the content node was set back to its original
107- return self . ionic . setConfigXml ( {
107+ return ConfigXml . setConfigXml ( process . cwd ( ) , {
108108 resetContent : true ,
109109 errorWhenNotFound : false
110110 } ) ;
@@ -305,7 +305,7 @@ IonicTask.prototype.runCordova = function(cmdName, argv) {
305305
306306 process . on ( 'exit' , function ( ) {
307307 // verify it was set back
308- self . ionic . setConfigXml ( process . cwd ( ) , {
308+ ConfigXml . setConfigXml ( process . cwd ( ) , {
309309 resetContent : true ,
310310 errorWhenNotFound : false
311311 } ) ;
You can’t perform that action at this time.
0 commit comments