@@ -1232,20 +1232,20 @@ function check_folder_name() {
12321232  #  Starting folder name with a - or . is not allowed
12331233  local  -r startsWithInvalidCharacterRegex=" ^[-.]" 
12341234  if  [[ " $folderName " =~  $startsWithInvalidCharacterRegex  ]];  then 
1235-     echo  " ERROR:  Invalid folder name: ${folderName} . Folder name beginning with a - or . is not allowed." 
1235+     echo  " Invalid folder name: ${folderName} . Folder name beginning with a - or . is not allowed." 
12361236    exitStatus=$( set_exit_status " $exitStatus " $ARDUINO_CI_SCRIPT_CHECK_FOLDER_NAME_INVALID_FIRST_CHARACTER_EXIT_STATUS ) 
12371237  fi 
12381238
12391239  #  Allowed characters: a-z, A-Z, 0-1, -._
12401240  local  -r disallowedCharactersRegex=" [^a-zA-Z0-9._-]" 
12411241  if  [[ " $folderName " =~  $disallowedCharactersRegex  ]];  then 
1242-     echo  " ERROR:  Invalid folder name: ${folderName} . Only letters, numbers, dots, dashes, and underscores are allowed." 
1242+     echo  " Invalid folder name: ${folderName} . Only letters, numbers, dots, dashes, and underscores are allowed." 
12431243    exitStatus=$( set_exit_status " $exitStatus " $ARDUINO_CI_SCRIPT_CHECK_FOLDER_NAME_INVALID_CHARACTER_EXIT_STATUS ) 
12441244  fi 
12451245
12461246  #  <64 characters
12471247  if  [[ ${# folderName}  -gt  63 ]];  then 
1248-     echo  " ERROR:  Folder name $folderName  exceeds the maximum of 63 characters." 
1248+     echo  " Folder name $folderName  exceeds the maximum of 63 characters." 
12491249    exitStatus=$( set_exit_status " $exitStatus " $ARDUINO_CI_SCRIPT_CHECK_FOLDER_NAME_TOO_LONG_EXIT_STATUS ) 
12501250  fi 
12511251  return  " $exitStatus " 
@@ -1347,6 +1347,7 @@ function check_sketch_structure() {
13471347    check_folder_name " $sketchPath " 
13481348    local  checkFolderNameExitStatus=$? 
13491349    if  [[ $checkFolderNameExitStatus  -ne  $ARDUINO_CI_SCRIPT_SUCCESS_EXIT_STATUS  ]];  then 
1350+       echo  " ERROR: ${sketchPath} : Invalid folder name." 
13501351      exitStatus=$( set_exit_status " $exitStatus " $(( ARDUINO_CI_SCRIPT_CHECK_SKETCH_STRUCTURE_CHECK_FOLDER_NAME_OFFSET +  checkFolderNameExitStatus)) ) 
13511352    fi 
13521353
@@ -1435,6 +1436,7 @@ function check_library_structure() {
14351436    check_folder_name " $normalizedLibraryPath " 
14361437    local  checkFolderNameExitStatus=$? 
14371438    if  [[ $checkFolderNameExitStatus  -ne  $ARDUINO_CI_SCRIPT_SUCCESS_EXIT_STATUS  ]];  then 
1439+       echo  " ERROR: ${normalizedLibraryPath} : Invalid folder name." 
14381440      exitStatus=$( set_exit_status " $exitStatus " $(( ARDUINO_CI_SCRIPT_CHECK_LIBRARY_STRUCTURE_CHECK_FOLDER_NAME_OFFSET +  checkFolderNameExitStatus)) ) 
14391441    fi 
14401442
0 commit comments