Browse Source
Merge pull request #1865 from MeshEnvy/fix/python-json-parse-error
fix: JSON parsing regression in build.sh
main
Liam Cottle
1 day ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
build.sh
|
|
|
@ -96,7 +96,7 @@ get_pio_envs_ending_with_string() { |
|
|
|
# $1 should be the environment name |
|
|
|
get_platform_for_env() { |
|
|
|
local env_name=$1 |
|
|
|
echo "$PIO_CONFIG_JSON" | python3 -c " |
|
|
|
printf '%s' "$PIO_CONFIG_JSON" | python3 -c " |
|
|
|
import sys, json, re |
|
|
|
data = json.load(sys.stdin) |
|
|
|
for section, options in data: |
|
|
|
|