mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
cadef4caa8
Previously, if a commit message contained a carriage return in its header, the `payload-size.sh` script would fail to upload the payload size data to Firebase, because the JSON payload would be messed up when trying to concatenate the commit message headers. See an example [here][1]. This commit avoids this problem by replacing carriage returns before concatenating the commit message headers with the JSON payload string. [1]: https://app.circleci.com/pipelines/github/angular/angular/37437/workflows/d0fa4adf-43bb-464e-a2fd-d87da15226dd PR Close #43569