Skip to content

Commit

Permalink
Fix shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Aug 14, 2024
1 parent 0d084e9 commit 47effbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/verify-exercises
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ copy_example_or_examplar_to_solution() {
}

unskip_tests() {
# shellcheck disable=SC2034
jq -r '.files.test[]' .meta/config.json | while read -r test_file; do
noop # TODO: replace this with the command to unskip the tests.
# Note: this function runs from within an exercise directory.
Expand Down
2 changes: 2 additions & 0 deletions bin/verify-exercises-in-docker
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ copy_example_or_examplar_to_solution() {
}

pull_docker_image() {
# shellcheck disable=SC1083
docker pull exercism/{{SLUG}}-test-runner ||
die $'Could not find the `exercism/{{SLUG}}-test-runner` Docker image.\nCheck the test runner docs at https://exercism.org/docs/building/tooling/test-runners for more information.'
}
Expand All @@ -38,6 +39,7 @@ run_tests() {
local slug
slug="${1}"

# shellcheck disable=SC1083
docker run \
--rm \
--network none \
Expand Down

0 comments on commit 47effbf

Please sign in to comment.