Skip to content

Commit

Permalink
Add more logging to example command
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel2392 committed May 9, 2024
1 parent 66c02be commit 706b285
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions commands/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function main() {
console.info(`Committing changes with message: '${quickgo.environ.m}'`);
os.exec(`git commit -m "${quickgo.environ.m}"`);
} else {
console.info(`Committing changes with default message: 'QuickGo update'`);
os.exec(`git commit -m "QuickGo update"`);
}

Expand All @@ -27,6 +28,8 @@ function main() {
console.info(`Pushing tags to remote repository`);
pushStr += ` --tags`;
}

console.info(`Executing git command: ${pushStr}`)
os.exec(pushStr);

return Result(0, `QuickGo git command executed successfully!`);
Expand Down

0 comments on commit 706b285

Please sign in to comment.