Skip to content

Commit

Permalink
chore: updated manifest.json and dist build
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jan 11, 2025
1 parent e29228f commit de900f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38958,7 +38958,7 @@
try {
this._context.logger.info("Staging changes");
(0, ie.execSync)("git add .", { stdio: "pipe" });
const C = (0, ie.execSync)("git status --porcelain", { stdio: "pipe" }).toString();
const C = (0, ie.execSync)("git status", { stdio: "pipe" }).toString();
this._context.logger.info("Changes to be committed:", { status: C });
if (!C.trim()) {
throw new Error("No changes to commit. Please make changes before creating a pull request.");
Expand All @@ -38969,6 +38969,7 @@
this._context.logger.info(`Pushing branch ${q} to remote`);
(0, ie.execSync)(`git push origin ${q}`, { stdio: "pipe" });
} catch (C) {
console.log("Error:", C);
const P = C instanceof Error ? C : new Error(String(C));
this._context.logger.error("Git operation failed:", { error: P });
throw P;
Expand Down

0 comments on commit de900f1

Please sign in to comment.