From 80f289a6b830059bb2e6095f81f8678ca422fe11 Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Thu, 29 Jul 2021 19:59:42 -0600 Subject: [PATCH] Removed NPM install check function No longer necessary now that Fast Node Manager is being used and replaces this functionality. --- lib/utilities.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/utilities.sh b/lib/utilities.sh index c4f1d80..bbfbae3 100644 --- a/lib/utilities.sh +++ b/lib/utilities.sh @@ -101,16 +101,6 @@ get_install_root() { } export -f get_install_root -# Checks NPM has been installed and exits if otherwise. -# Parameters: None. -check_npm_install() { - if ! command -v npm > /dev/null; then - printf "%s\n" "ERROR: NPM can't be found. Please ensure Homebrew and NPM have been installed." - exit 1 - fi -} -export -f check_npm_install - # Checks Mac App Store (mas) CLI has been installed and exits if otherwise. # Parameters: None. check_mas_install() {