Skip to content

Commit 867678c

Browse files
committed
formatting
1 parent fd3930e commit 867678c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docker/run.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@ i=0
44
options=()
55
for f in $FILES; do
66
if [[ -d "$f" ]]; then
7-
((i++))
8-
options[$i]=$f
7+
((i++))
8+
options[$i]=$f
99
fi
1010
done
1111
PS3="> "
1212
select f in "${options[@]}"; do
13-
if (( REPLY > 0 && REPLY <= ${#options[@]} )) ; then
13+
if (( REPLY > 0 && REPLY <= ${#options[@]} )); then
1414
break
1515
else
16-
exit
16+
exit
1717
fi
1818
done
1919
dir=$(readlink -f ..)
2020
docker rm "php-crud-api_$f" > /dev/null 2>&1
2121
docker run -ti -v $dir:/php-crud-api --name "php-crud-api_$f" "php-crud-api:$f" /bin/bash -c '/usr/sbin/docker-run && cd php-crud-api && /bin/bash'
22-

0 commit comments

Comments
 (0)