*: 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:
@@ -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."
|
||||
}
|
||||
|
||||
###################################
|
||||
|
@@ -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!'
|
||||
|
Reference in New Issue
Block a user