*: shellcheck and fix typos (#6526)

* test.sh: quote a variable

* contributing-guides/*: fix typos

* pages/*: fix typos

* scripts/*: fix typos

* MAINTAINERS.md: trim trailing whitespace

Co-authored-by: a1346054 <36859588+a1346054@users.noreply.github.com>
This commit is contained in:
a1346054
2021-09-16 03:32:13 +00:00
committed by GitHub
parent 9c6d2865dc
commit 5c62e303b5
10 changed files with 15 additions and 15 deletions

View File

@@ -14,14 +14,14 @@ function initialize {
function build_index {
npm run build-index
echo "Pages index succesfully built."
echo "Pages index successfully built."
}
function build_archive {
rm -f "$TLDR_ARCHIVE"
cd "$TLDRHOME/"
zip -q -r "$TLDR_ARCHIVE" pages* LICENSE.md index.json
echo "Pages archive succesfully built."
echo "Pages archive successfully built."
}
###################################

View File

@@ -48,7 +48,7 @@ function run_tests {
markdownlint pages*/**/*.md
tldr-lint ./pages
for f in ./pages.*; do
tldr-lint --ignore "TLDR003,TLDR004,TLDR005,TLDR015,TLDR104" ${f}
tldr-lint --ignore "TLDR003,TLDR004,TLDR005,TLDR015,TLDR104" "${f}"
done
run_black
run_flake8
@@ -91,4 +91,4 @@ else
run_tests
fi
echo 'Test ran succesfully!'
echo 'Test ran successfully!'