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 shakapacker hook detection to support symbol keys and prevent false positives
Improvements:
- Support both symbol and string keys in config data (shakapacker uses symbols internally)
- Use word boundary regex to prevent matching similar task names
- Add safe navigation operator for better nil handling
- Document why private :data method is accessed
- Add tests for both key types and false positive prevention
This ensures the hook detection works correctly with shakapacker's actual config format.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments