Skip to content

Commit

Permalink
fix possible path bug
Browse files Browse the repository at this point in the history
Double quote to prevent globbing and word splitting.
https://github.com/koalaman/shellcheck/wiki/SC2046
  • Loading branch information
Rotzbua committed May 16, 2024
1 parent 01c1de4 commit f9ba73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
MOUNT_FOLDER=/app
docker run --rm -it -v $(pwd):$MOUNT_FOLDER -w $MOUNT_FOLDER themattrix/tox
docker run --rm -it -v "$(pwd)":"$MOUNT_FOLDER" -w "$MOUNT_FOLDER" themattrix/tox

0 comments on commit f9ba73c

Please sign in to comment.