Skip to content

Commit

Permalink
✨ not fatal exit from optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhomer committed Nov 18, 2023
1 parent ccce82d commit f71bbc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/dotme-gem
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ should-run $0 || exit 0

$(shim) && cd ${ME} && . bin/i.sh
if ! command -v rbenv ; then
log::exit "rbenv not installed"
log::info "rbenv not installed"
exit
fi

# Install given ruby version as global
Expand Down
3 changes: 2 additions & 1 deletion bin/dotme-pip
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ should-run -m 30 $0 $REQUIREMENTS || exit 0
$(shim) && cd ${ME} && . bin/i.sh

if ! command -v pip3 ; then
log::exit "pip3 not installed"
log::info "pip3 not installed"
exit
fi

printf "\e[36mInstalling pip requirements\e[0m\n"
Expand Down

0 comments on commit f71bbc7

Please sign in to comment.