mirror of
https://github.com/coollabsio/coolify.git
synced 2025-12-28 13:41:51 +00:00
- Refine regex pattern to prevent false positives with flags like -foo, -from, -feature - Change from \S (any non-whitespace) to [.~/]|$ (path characters or end of word) - Add comprehensive tests for false positive prevention (4 test cases) - Add path normalization tests for baseDirectory edge cases (6 test cases) - Add @example documentation to injectDockerComposeFlags function Prevents incorrect detection of: - -foo, -from, -feature, -fast as the -f flag - Ensures -f flag is only detected when followed by path characters or end of word All 45 tests passing with 135 assertions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cache | ||
| helpers | ||
| app.php | ||
| getHelperVersion.php | ||
| getRealtimeVersion.php | ||
| getVersion.php | ||
| includeHelpers.php | ||