Skip to content

Commit

Permalink
'Page details updated: Home (item-9d372b3d-9f01-4930-bb9e-6e79c79afeec)'
Browse files Browse the repository at this point in the history
  • Loading branch information
btopro committed Nov 15, 2024
1 parent c219613 commit 5d484d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/lib/GitPlus.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const exec = util.promisify(child_process.exec);
class GitPlus extends Git {
constructor(options) {
super(options);
console.log(options);
this.cliVersion = options.cliVersion || null;
this.gitTest();
}
Expand All @@ -30,7 +29,6 @@ class GitPlus extends Git {
return true;
}
gitExec(cmd) {
console.log(this.cliVersion);
if (this.cliVersion) {
return super.gitExec(cmd);
}
Expand Down
6 changes: 0 additions & 6 deletions src/lib/HAXCMS.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,10 @@ class HAXCMSSite
return false;
}
async gitTest() {
console.log('?dfdsfsdfsfsdf');
try {
const { stdout, stderr } = await exec('git --version');
return stdout;
} catch (e) {
console.log(e);
return null;
}
}
Expand Down Expand Up @@ -580,9 +578,7 @@ class HAXCMSSite
*/
async gitCommit(msg = 'Committed changes')
{
console.log(await this.gitTest());
try {
console.log(this.siteDirectory);
// commit, true flag will attempt to make this a git repo if it currently isn't
const git = new GitPlus({
dir: this.siteDirectory,
Expand Down Expand Up @@ -1589,10 +1585,8 @@ class HAXCMSSite
// HAXcms core
class HAXCMSClass {
async gitTest() {
console.log("?");
try {
const { stdout, stderr } = await exec('git --version');
console.log(stdout);
return stdout;
} catch (e) {
return null;
Expand Down

0 comments on commit 5d484d4

Please sign in to comment.