Skip to content

Commit f62c85e

Browse files
committed
check_library_properties: Improve invalid line error message
1 parent c7639d0 commit f62c85e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ci-script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,7 @@ function check_library_properties() {
19311931

19321932
# Check for invalid lines (anything other than property, comment, or blank line)
19331933
if grep --quiet --invert-match --extended-regexp --regexp='=' --regexp='^[[:space:]]*(#|$)' <<<"$libraryProperties"; then
1934-
echo "ERROR: $normalizedLibraryPropertiesPath contains an invalid line."
1934+
echo "ERROR: $normalizedLibraryPropertiesPath contains an invalid line. Installation of a library with invalid line will cause all compilations to fail. library.properties must only consist of property definitions, blank lines, and comments (#)."
19351935
exitStatus=$(set_exit_status "$exitStatus" $ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_INVALID_LINE_EXIT_STATUS)
19361936
fi
19371937

0 commit comments

Comments
 (0)