TryGhost / NQL

MIT License
4 stars 8 forks source link

Fixed incorrect parse result for filters with outer/wrapped brackets #73

Closed mike182uk closed 10 months ago

mike182uk commented 10 months ago

fixes https://github.com/TryGhost/NQL/issues/16

With this change, if yg is present in the output, it will be removed and its contents will be moved to the parent node

codecov-commenter commented 10 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (5d42df5) 79.71% compared to head (bd395e4) 79.80%.

Files Patch % Lines
packages/nql-lang/dist/parser.js 87.50% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #73 +/- ## ========================================== + Coverage 79.71% 79.80% +0.09% ========================================== Files 9 9 Lines 1568 1575 +7 Branches 316 318 +2 ========================================== + Hits 1250 1257 +7 Misses 313 313 Partials 5 5 ```

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