Skip to content

Adding some robustness to remove newline characters in JSON

Paul Nguyen requested to merge pnguyen-remove-newlines-from-json into main

We've ran into a recent bug where Powershell was introducing newline characters when converting a string to pretty JSON format. In order to make runway a bit more robust, I added some code so that instead of just trimming new lines from the end, that it'll go through the string and remove new line characters altogether, since the runway server is reliant on using that new line character for parsing purposes.

Merge request reports

Loading