Skip to content

Commit

Permalink
fix build_sketch_cli result handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Links2004 committed Jan 5, 2024
1 parent 8d193b1 commit 93707d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions travis/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function build_sketch_cli()
local sketch=$1
local board=$2
arduino-cli --log --log-level info compile -b "$board" "$sketch"
result=$?
if [ $result -ne 0 ]; then
echo "Build failed ($sketch) build verbose..."
arduino-cli --log --log-level debug compile -b "$board" "$sketch"
Expand Down

0 comments on commit 93707d4

Please sign in to comment.