Skip to content

Commit 9713806

Browse files
committed
test
1 parent 7cdca56 commit 9713806

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/scripts/sketch_utils.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
158158
fi
159159

160160
# Check if the sketch requires any configuration options
161-
requirements=$(jq -r '.requires[]? // empty' $sketchdir/ci.json)
161+
requirements=$(jq -r ".requires[]? // empty" $sketchdir/ci.json)
162162
if [[ "$requirements" != "null" ]] || [[ "$requirements" != "" ]]; then
163163
for requirement in $requirements; do
164164
found_line=$(grep -E "^$requirement" "$SDKCONFIG_DIR/$target/sdkconfig")
@@ -314,7 +314,7 @@ function count_sketches(){ # count_sketches <path> [target] [file]
314314
fi
315315

316316
# Check if the sketch requires any configuration options
317-
requirements=$(jq -r '.requires[]? // empty' $sketchdir/ci.json)
317+
requirements=$(jq -r ".requires[]? // empty" $sketchdir/ci.json)
318318
if [[ "$requirements" != "null" ]] || [[ "$requirements" != "" ]]; then
319319
for requirement in $requirements; do
320320
found_line=$(grep -E "^$requirement" $SDKCONFIG_DIR/$target/sdkconfig)

0 commit comments

Comments
 (0)