diff --git a/.ci/native_check b/.ci/native_check index da1c17812..c71aff604 100644 --- a/.ci/native_check +++ b/.ci/native_check @@ -60,8 +60,12 @@ printf '\n----\n' if [ -n "$successful_files" ]; then print -s1 -c2 "Successfully verified files:$successful_files\n" fi -if [ -n "$failed_files" ]; then + +# Check if failed_files is non-empty more reliably by removing spaces and newline characters +if [ -n "$(echo $failed_files | tr -d '[:space:]')" ]; then die "Verification failed for files:$failed_files" +elif [ -z "$successful_files" ]; then + print -s1 -c3 'No Markdown files were changed or no namespaces found.' else - print -s1 -c3 'All namespaces are valid.' + print -s1 -c2 'All namespaces are valid.' fi diff --git a/APP/AppCloseApp.md b/APP/AppCloseApp.md index 256ad9ab6..dbf370915 100644 --- a/APP/AppCloseApp.md +++ b/APP/AppCloseApp.md @@ -1,5 +1,5 @@ --- -ns: APPAAA +ns: APPAAAAAA --- ## APP_CLOSE_APP