File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ const exec = util.promisify(child_process.exec);
55class GitPlus extends Git {
66 constructor ( options ) {
77 super ( options ) ;
8- console . log ( options ) ;
98 this . cliVersion = options . cliVersion || null ;
109 this . gitTest ( ) ;
1110 }
@@ -30,7 +29,6 @@ class GitPlus extends Git {
3029 return true ;
3130 }
3231 gitExec ( cmd ) {
33- console . log ( this . cliVersion ) ;
3432 if ( this . cliVersion ) {
3533 return super . gitExec ( cmd ) ;
3634 }
Original file line number Diff line number Diff line change @@ -367,12 +367,10 @@ class HAXCMSSite
367367 return false ;
368368 }
369369 async gitTest ( ) {
370- console . log ( '?dfdsfsdfsfsdf' ) ;
371370 try {
372371 const { stdout, stderr } = await exec ( 'git --version' ) ;
373372 return stdout ;
374373 } catch ( e ) {
375- console . log ( e ) ;
376374 return null ;
377375 }
378376 }
@@ -580,9 +578,7 @@ class HAXCMSSite
580578 */
581579 async gitCommit ( msg = 'Committed changes' )
582580 {
583- console . log ( await this . gitTest ( ) ) ;
584581 try {
585- console . log ( this . siteDirectory ) ;
586582 // commit, true flag will attempt to make this a git repo if it currently isn't
587583 const git = new GitPlus ( {
588584 dir : this . siteDirectory ,
@@ -1589,10 +1585,8 @@ class HAXCMSSite
15891585// HAXcms core
15901586class HAXCMSClass {
15911587 async gitTest ( ) {
1592- console . log ( "?" ) ;
15931588 try {
15941589 const { stdout, stderr } = await exec ( 'git --version' ) ;
1595- console . log ( stdout ) ;
15961590 return stdout ;
15971591 } catch ( e ) {
15981592 return null ;
You can’t perform that action at this time.
0 commit comments