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 Jun 22, 2024
1 parent 0113d42 commit e34638e
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 e34638e

Please sign in to comment.