Skip to content

Commit 6d94817

Browse files
committed
Use consistent style
* Have variables surounded by `{}`. * Use variable instead of `~`. * Quote the whole volume option and not only fragments of it.
1 parent 276251b commit 6d94817

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

commodore_command.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ commodore () {
77
--tty \
88
--rm \
99
--user="$(id -u)" \
10-
--volume "$HOME"/.ssh:/app/.ssh:ro \
11-
--volume ~/.gitconfig:/app/.gitconfig:ro \
10+
--volume "${HOME}/.ssh:/app/.ssh:ro" \
11+
--volume "${HOME}/.gitconfig:/app/.gitconfig:ro" \
1212
--volume "${PWD}:/app/data/" \
1313
--workdir "/app/data" \
1414
projectsyn/commodore:v0.2.0 \

0 commit comments

Comments
 (0)