fauna-labs / serverless-fauna

MIT No Attribution
18 stars 3 forks source link

[FE-2440] Fix comment handling bug #22

Closed adambollen closed 2 years ago

adambollen commented 2 years ago

In v0.1.4, the improved comment handling introduced a bug where forward-slashes / that were not part of a comment would get stripped out because the conditional looking for slashes would continue the surrounding for-loop rather than first checking if the slash was inside a comment. This PR fixes the bug and adds some test coverage by adding comment lines and non-comment slashes to test data.