Browse Source

fix: [compose] incorrect indentation in debug message !minor

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
cache-relation
Valentin Lab 5 years ago
parent
commit
a5af721887
  1. 2
      bin/compose

2
bin/compose

@ -1001,8 +1001,8 @@ run() {
[ -t 0 ] && docker_run_opts+=("-i") [ -t 0 ] && docker_run_opts+=("-i")
[ -t 1 ] && docker_run_opts+=("-t") [ -t 1 ] && docker_run_opts+=("-t")
debug "${WHITE}Launching:${NORMAL}"
if [ -n "$DEBUG" ] || [ -n "$DRY_RUN" ]; then if [ -n "$DEBUG" ] || [ -n "$DRY_RUN" ]; then
echo "${WHITE}Launching:${NORMAL}"
echo "docker run --rm \\" echo "docker run --rm \\"
pretty_print "${docker_run_opts[@]}" | sed_compat 's/^/ /g;s/([^\])$/\1\\\n/g' pretty_print "${docker_run_opts[@]}" | sed_compat 's/^/ /g;s/([^\])$/\1\\\n/g'
if [ -z "$ENTER" ]; then if [ -z "$ENTER" ]; then

Loading…
Cancel
Save