Skip to content

Commit

Permalink
don't overquote
Browse files Browse the repository at this point in the history
  • Loading branch information
TicClick committed Oct 14, 2022
1 parent 32e65a3 commit 239c51c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions run-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ main() {
fi

printf -- "\n--- File size check ---\n\n"
_docker bash scripts/ci/inspect_file_sizes.sh --target "${INTERESTING_FILES}"
_docker bash scripts/ci/inspect_file_sizes.sh --target ${INTERESTING_FILES}

printf -- "\n--- Run remark ---\n\n"
_docker bash scripts/ci/run_remark.sh --target "${INTERESTING_ARTICLES}"
_docker bash scripts/ci/run_remark.sh --target ${INTERESTING_ARTICLES}

printf -- "\n--- Run yamllint ---\n\n"
YAMLLINT_TARGET_FILES=$( echo "${INTERESTING_FILES}" | grep -e .yaml$ -e .yml$ -e .md$ || true )
_docker python3 scripts/ci/run_yamllint.py --config .yamllint.yaml --target "${YAMLLINT_TARGET_FILES}"
_docker python3 scripts/ci/run_yamllint.py --config .yamllint.yaml --target ${YAMLLINT_TARGET_FILES}

printf -- "\n--- Broken wikilink check ---\n\n"
_docker osu-wiki-tools check-links --target "${INTERESTING_ARTICLES}"
_docker osu-wiki-tools check-links --target ${INTERESTING_ARTICLES}

printf -- "\n--- Outdated tag check ---\n\n"
_docker osu-wiki-tools check-outdated-articles --workflow --base-commit ${FIRST_COMMIT_HASH}
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/run_remark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function main() {

EXIT=0
if test -n "${TARGET_FILES}"; then
npx remark -qf --color --no-stdout --report="$REPORTER" --silently-ignore "${TARGET_FILES}"
npx remark -qf --color --no-stdout --report="$REPORTER" --silently-ignore ${TARGET_FILES}
EXIT=$?
fi

Expand Down

0 comments on commit 239c51c

Please sign in to comment.