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
Fixed all shellcheck and yamllint issues in the Mockoon testing infrastructure:
Shellcheck fixes in tests/mockoon_registrar_tests.sh:
- Added proper quoting for /proc/$pid paths to prevent word splitting
- Replaced 'cat file | cmd' with 'cmd < file' to avoid useless cat
- Replaced 'ps aux | grep' with 'pgrep' for better process detection
- All variables now properly quoted to prevent globbing
Yamllint fixes in .github/workflows/mockoon.yaml:
- Split long lines (>80 chars) using YAML line continuation
- Improved readability while maintaining functionality
- All debugging commands now properly formatted
The code now passes both shellcheck (only expected SC1091 source
warnings remain) and yamllint with no errors, improving code quality
and maintainability.
Co-Authored-By: Claude <[email protected]>
Signed-off-by: Sergio Arroutbi <[email protected]>
0 commit comments