You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix critical bug: move map declarations before usage
CRITICAL FIX: The script was referencing JOB_VERSION_MAP before declaring
it, which would cause "unbound variable" errors due to set -euo pipefail.
Changes:
- Moved both JOB_MAP and JOB_VERSION_MAP declarations before first usage
- Added helper function get_version_info() to eliminate code duplication
- Replaced 4 repeated linear searches with function calls
- Fixed inconsistent string concatenation (added braces)
- Added documentation comments linking to source of truth files
This improves both correctness and maintainability.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments