mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
fix(build): tolerate control chars in pio project config JSON dump
get_platform_for_env() in build.sh parses `pio project config --json-output` with Python's strict json.load(), which rejects literal control characters inside string values. Depending on the installed pio version, a build_flags value can embed one there, breaking env-name lookup with "Invalid control character" before the actual build even starts. strict=False accepts it, same as a lenient JSON consumer would for a non-conforming producer. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Reference in New Issue
Block a user