Skip to content

Commit

Permalink
fix mixed indent + move do to same line as start of loop (#19373)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBaranowski committed Aug 17, 2024
1 parent a6a75e3 commit ba1d725
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ codegen="${cli}/target/openapi-generator-cli.jar"
commands="config-help,generate,batch,help,list,meta,validate,version"

if [ $# == 0 ]; then
echo "No command specified. Available commands:"
for i in $(echo $commands | sed "s/,/ /g")
do
echo " $i"
done
exit
echo "No command specified. Available commands:"
for i in $(echo $commands | sed "s/,/ /g"); do
echo " $i"
done
exit
fi

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

0 comments on commit ba1d725

Please sign in to comment.