Skip to content

Conversation

@NeemaB
Copy link

@NeemaB NeemaB commented Oct 27, 2025

Add the assertGitRepo() check earlier in the commit pipeline to display:

—  ✖ Error: Command failed with exit code 128: git rev-parse
fatal: not a git repository (or any of the parent directories): .git

instead of:

|
—  No changes detected

feat(commit.ts): add error handling for assertGitRepo in top level commit to improve user feedback.
fix(commit.ts: move assertGitRepo call into try/catch block to handle appropriately

feat(commit.ts): add error handling for assertGitRepo when committing to improve user feedback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant