cpisciotta / xcbeautify

A little beautifier tool for xcodebuild
MIT License
947 stars 67 forks source link

Fix SwiftCompileCaptureGroup Bug #306

Closed cpisciotta closed 1 month ago

cpisciotta commented 1 month ago

Fix a bug in the SwiftCompileCaptureGroup where it missed files with escaped spaces. Add a unit test that considers the previously missed output, and simplify the regex to more exhaustively consider filenames. As part of this change, update the regex's capturing groups, and use lastPathComponent to extract filename from the already captured filePath.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.88%. Comparing base (b674bbe) to head (f70c7f9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #306 +/- ## ======================================= Coverage 86.87% 86.88% ======================================= Files 14 14 Lines 1631 1632 +1 ======================================= + Hits 1417 1418 +1 Misses 214 214 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.