Skip to content

fix: solve macos compatibility#44

Open
fxalgrain wants to merge 1 commit into
masterfrom
fix/check_message_macos
Open

fix: solve macos compatibility#44
fxalgrain wants to merge 1 commit into
masterfrom
fix/check_message_macos

Conversation

@fxalgrain
Copy link
Copy Markdown

@fxalgrain fxalgrain commented May 21, 2026

Issue

Using the validator returns the following error in MacOS system

Commit Message Validator.................................................Failed
- hook id: commit-message-validator
- exit code: 1

sed: no-jira,allow-temp,jira-in-header,header-length:,body-length:,jira-types:: No such file or directory

Changes

Replace getopt by a loop on args

replace getopt by a loop on args
@fxalgrain fxalgrain force-pushed the fix/check_message_macos branch from 1010940 to 06e8ee4 Compare May 22, 2026 07:29
@fxalgrain fxalgrain marked this pull request as ready for review May 22, 2026 07:30
@fxalgrain fxalgrain requested review from a team and lumautomation as code owners May 22, 2026 07:30
Copy link
Copy Markdown

@noirbee noirbee left a comment

Choose a reason for hiding this comment

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

[WARNING] The 'rev' field of repo 'https://github.com/lumapps/commit-message-validator' appears to be a mutable reference (moving tag / branch).  Mutable references are never updated after first install and are not supported.  See https://pre-commit.com/#using-the-latest-version-for-a-repository for more details.  Hint: `pre-commit autoupdate` often fixes this.
Commit Message Validator.................................................Failed
- hook id: commit-message-validator
- exit code: 1

sed: unrecognized option '--jira-types=feat'

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.

2 participants