Skip to content

fix(husky): macOS bash 3.2 pre-commit without mapfile#831

Merged
haasonsaas merged 1 commit into
mainfrom
fix/husky-macos-bash-32
Jul 20, 2026
Merged

fix(husky): macOS bash 3.2 pre-commit without mapfile#831
haasonsaas merged 1 commit into
mainfrom
fix/husky-macos-bash-32

Conversation

@haasonsaas

Copy link
Copy Markdown
Contributor

Summary

  • Replace mapfile (bash 4+) with a portable while-read loop in .husky/pre-commit
  • Fixes commits failing on stock macOS /bin/bash 3.2

Source: https://github.com/evalops/maestro-internal/pull/2895

Test plan

  • mapfile -t absent from hook
  • CI green

Replace mapfile with a portable while-read loop so pre-commit does not
fail on stock macOS /bin/bash after the native TUI cutover.

Mirrors evalops/maestro-internal#2895.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@haasonsaas
haasonsaas enabled auto-merge (squash) July 20, 2026 02:13
@haasonsaas
haasonsaas merged commit 3447ee9 into main Jul 20, 2026
7 checks passed
@haasonsaas
haasonsaas deleted the fix/husky-macos-bash-32 branch July 20, 2026 02:13
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