minor refactoring for clarity

tmp/arduino-cli-pre-rebase
Jesse Vincent 4 years ago
parent 96974b33d4
commit e71c3cde3c
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -199,11 +199,11 @@ _find_sketch() {
return return
fi fi
done done
SKETCH_NOT_FOUND=1
if [ -n "${SKETCH_NOT_FOUND}" ]; then
echo "I couldn't find your sketch (.ino file)" >&2 # Didn't find a sketch
exit 1 echo "I couldn't find your sketch (.ino file)" >&2
fi exit 1
} }
_prompt_before_flashing() { _prompt_before_flashing() {

Loading…
Cancel
Save