Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
spacevx committed Mar 9, 2024
1 parent 333f18c commit 118f778
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .ci/native_check
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion APP/AppCloseApp.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
ns: APPAAA
ns: APPAAAAAA
---
## APP_CLOSE_APP

Expand Down

0 comments on commit 118f778

Please sign in to comment.