diff --git a/config/husky/init.sh b/config/husky/init.sh index b7e59c2..a2770b5 100755 --- a/config/husky/init.sh +++ b/config/husky/init.sh @@ -1,4 +1,4 @@ -#!/bin/env bash +#!/usr/bin/env bash [[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.config/nvm" [[ -s "$NVM_DIR/nvm.sh" ]] && \. "$NVM_DIR/nvm.sh" # This loads nvm diff --git a/scripts/install-npm-packages.sh b/scripts/install-npm-packages.sh index c12495d..7ff54e6 100755 --- a/scripts/install-npm-packages.sh +++ b/scripts/install-npm-packages.sh @@ -43,7 +43,7 @@ install_packages() upgrade_global_packages() { msgr run "Upgrading all global packages" - npm -g --no-progress --no-timing --no-fund outdated + npm -g --no-progress --no-timing --no-fund outdated || true npm -g --no-timing --no-fund upgrade return 0 }