fix: set message formatting to be consistent
This commit is contained in:
parent
84cd7f34dc
commit
d5be0f0688
@ -95,7 +95,7 @@ install-rust() {
|
||||
export RUSTUP_HOME="${install_path}/rustup"
|
||||
|
||||
if ! [[ -e "${CARGO_HOME}" ]] || ! [[ -e "${RUSTUP_HOME}" ]]; then
|
||||
log "info" "Rust installs set to ${GREEN}cargo${RESET_BOLD}: ${GREEN}${CARGO_HOME}${RESET_BOLD} & ${GREEN}rustup${RESET_BOLD} ${GREEN}${RUSTUP_HOME}${RESET_BOLD}"
|
||||
log "info" "Rust installs set to ${GREEN}cargo${RESET_BOLD}: ${GREEN}${CARGO_HOME}${RESET_BOLD} & ${GREEN}rustup${RESET_BOLD}: ${GREEN}${RUSTUP_HOME}${RESET_BOLD}"
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --quiet
|
||||
if [[ -z "$(ls "${RUSTUP_HOME}/toolchains" >/dev/null)" ]]; then
|
||||
log "info" "No toolchain found, installing a ${GREEN}Rust${RESET_BOLD} toolchain"
|
||||
|
Loading…
Reference in New Issue
Block a user