This is an automated email from the ASF dual-hosted git repository.

weichiu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 044a137fb HDDS-14734. Fix false positive spellcheck errors (#356)
044a137fb is described below

commit 044a137fb1cf5d025e1a058672ab880079c5f5e1
Author: Rishabh Patel <[email protected]>
AuthorDate: Wed Mar 4 16:47:41 2026 -0800

    HDDS-14734. Fix false positive spellcheck errors (#356)
---
 .github/scripts/spelling.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/scripts/spelling.sh b/.github/scripts/spelling.sh
index 7813b4bd3..26181428d 100755
--- a/.github/scripts/spelling.sh
+++ b/.github/scripts/spelling.sh
@@ -24,10 +24,9 @@ printf '%s\n' 'Checking document content...'
 pnpm cspell lint --root="$root" --no-progress --show-context '**/*.md' 
'**/*.mdx' || rc="$?"
 
 printf '\n%s\n' 'Checking file names...'
-find "$root"/docs "$root"/src/pages | pnpm cspell --no-progress --show-context 
stdin://'File Name' || rc="$?"
+find "$root"/docs "$root"/src/pages | sed "s|^$root/||" | pnpm cspell 
--no-progress --show-context stdin://'File Name' || rc="$?"
 
 if [ "$rc" != 0 ]; then
-  # TODO Update this link to master when the new website's branch is merged.
   printf '\n%s\n%s\n' 'Spell check failed. See CONTRIBUTING.md for help fixing 
false positive spelling errors:' \
     
'https://github.com/apache/ozone-site/blob/master/CONTRIBUTING.md#spelling' 1>&2
 fi


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to