Skip to content

Commit

Permalink
fix: formatting around heredocs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccaffery committed Jan 5, 2021
1 parent bd8d2e0 commit 636868a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/sh/install/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ __am_prompt_ensure_rosetta() {
return $?
fi

printf "\n%s" "$CLR_WARN"
printf "\n%s${CLR_WARN}" ""
cat <<-EOT
##############################################################################
Expand All @@ -36,7 +36,7 @@ __am_prompt_ensure_rosetta() {
##############################################################################
EOT
printf "%s" "$FORMAT_CLEAR"
printf "\n%s${FORMAT_CLEAR}" ""

# install homebrew for apple silicon
__am_prompt_install_arm64
Expand Down
4 changes: 2 additions & 2 deletions src/sh/scripts/use-shell
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ __am_prompt_use_shell() {
export SHELL="$PROMPT_SHELL_PATH"
fi

printf "\n\n%s" "${CLR_SUCCESS}"
printf "\n\n%s${CLR_SUCCESS}" ""
cat <<-EOT
##############################################################################
##############################################################################
Expand All @@ -81,7 +81,7 @@ __am_prompt_use_shell() {
##############################################################################
##############################################################################
EOT
printf "%s\n\n" "${FORMAT_CLEAR}"
printf "\n\n%s${FORMAT_CLEAR}" ""
}

__am_prompt_use_shell "$@"

0 comments on commit 636868a

Please sign in to comment.