mirror of
https://github.com/oven-sh/bun
synced 2026-02-28 20:40:59 +01:00
The Buildkite build JSON response includes the commit message in the
"message" field. When that message contains a semicolon (as it did in
c6efe76981: "JSString.view now returns bun.String; toSlice → ..."),
passing ${BUILDKITE_BUILD} unquoted to string(JSON ...) causes CMake
to split it into a list at the semicolon, truncating the JSON and
producing "Syntax error: value, object or array expected."
Quote all JSON variable references in string(JSON ...) calls to prevent
this class of bug.