Skip to content

Commit ba1d725

Browse files
fix mixed indent + move do to same line as start of loop (#19373)
1 parent a6a75e3 commit ba1d725

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

docker-entrypoint.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ codegen="${cli}/target/openapi-generator-cli.jar"
1515
commands="config-help,generate,batch,help,list,meta,validate,version"
1616

1717
if [ $# == 0 ]; then
18-
echo "No command specified. Available commands:"
19-
for i in $(echo $commands | sed "s/,/ /g")
20-
do
21-
echo " $i"
22-
done
23-
exit
18+
echo "No command specified. Available commands:"
19+
for i in $(echo $commands | sed "s/,/ /g"); do
20+
echo " $i"
21+
done
22+
exit
2423
fi
2524

2625
# if CLI jar exists, check $1 against completions available in the CLI

0 commit comments

Comments
 (0)