Skip to content

refactor: replace -s flag with --silent in husky prepare-commit-msg script - #34065

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:pnpm-12-commit
Sep 10, 2026
Merged

refactor: replace -s flag with --silent in husky prepare-commit-msg script#34065
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:pnpm-12-commit

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

This fixes an issue with pnpm 12

@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Sep 10, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the husky prepare-commit-msg hook to use the --silent flag instead of -s for the pnpm command. The feedback suggests double-quoting the $1 and $2 parameters in the shell script to prevent potential word splitting and glob expansion issues.

Comment thread .husky/prepare-commit-msg
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer and removed action: merge The PR is ready for merge by the caretaker labels Sep 10, 2026
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 10, 2026
@alan-agius4
alan-agius4 merged commit 77e8b6b into angular:main Sep 10, 2026
42 of 43 checks passed
@alan-agius4
alan-agius4 deleted the pnpm-12-commit branch September 10, 2026 08:43
@alan-agius4

Copy link
Copy Markdown
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants