Skip to content

Commit

Permalink
Print emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahr committed Nov 6, 2024
1 parent cb2d0c7 commit b04fde2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v2.0.2 - 2024-11-06

- test against newer nims
- update documentation for newer nims
- upgrade lintball

## v2.0.1 - 2022-11-28

- fix: sorting for `asdf list-all nim`
Expand Down
8 changes: 4 additions & 4 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -184,26 +184,26 @@ STEP=0
section_start() {
STEP=0
if [ "$ASDF_NIM_SILENT" = "no" ]; then
printf "\n%s\n" "$1" 1>&"$ASDF_NIM_STDOUT" 2>&"$ASDF_NIM_STDERR"
printf "\n%b\n" "$1" 1>&"$ASDF_NIM_STDOUT" 2>&"$ASDF_NIM_STDERR"
fi
}

step_start() {
export STEP=$((STEP + 1))
if [ "$ASDF_NIM_SILENT" = "no" ]; then
printf " %s. %s" "$STEP" "$1" 1>&"$ASDF_NIM_STDOUT" 2>&"$ASDF_NIM_STDERR"
printf " %b. %b" "$STEP" "$1" 1>&"$ASDF_NIM_STDOUT" 2>&"$ASDF_NIM_STDERR"
fi
}

step_end() {
if [ "$ASDF_NIM_SILENT" = "no" ]; then
printf "%s\n" "$1" 1>&"$ASDF_NIM_STDOUT" 2>&"$ASDF_NIM_STDERR"
printf "%b\n" "$1" 1>&"$ASDF_NIM_STDOUT" 2>&"$ASDF_NIM_STDERR"
fi
}

die() {
if [ "$ASDF_NIM_SILENT" = "no" ]; then
printf "\n💥 %s\n\n" "$1" 1>&"$ASDF_NIM_STDERR"
printf "\n💥 %b\n\n" "$1" 1>&"$ASDF_NIM_STDERR"
fi
}

Expand Down

0 comments on commit b04fde2

Please sign in to comment.