We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbae715 commit 044a137Copy full SHA for 044a137
1 file changed
.github/scripts/spelling.sh
@@ -24,10 +24,9 @@ printf '%s\n' 'Checking document content...'
24
pnpm cspell lint --root="$root" --no-progress --show-context '**/*.md' '**/*.mdx' || rc="$?"
25
26
printf '\n%s\n' 'Checking file names...'
27
-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="$?"
28
29
if [ "$rc" != 0 ]; then
30
- # TODO Update this link to master when the new website's branch is merged.
31
printf '\n%s\n%s\n' 'Spell check failed. See CONTRIBUTING.md for help fixing false positive spelling errors:' \
32
'https://github.com/apache/ozone-site/blob/master/CONTRIBUTING.md#spelling' 1>&2
33
fi
0 commit comments