06-08-2021

update to M1
This commit is contained in:
2021-08-06 12:45:12 +02:00
parent c2e950d819
commit f99b2c3107
9 changed files with 160 additions and 14 deletions

View File

@@ -146,8 +146,10 @@ echo ""
# Local packages #
##################
if [ -d "$local_path" ]; then
cd "$local_path" || return
# Local folder exist and not empty (modules installed)
#if [ -d "$local_path/node_modules" ] && [ -n "$(ls -A "$local_path/node_modules")" ]; then
if find "$local_path/node_modules" -mindepth 1 -maxdepth 1 | read; then
echo -e "${underline}🌿 Local installed scripts:${reset}"
if [ "$display_info" = true ]; then
@@ -349,6 +351,10 @@ if [ "$doctor" = true ]; then
echo ""
echo "Troubleshooting:"
echo "https://github.com/nvm-sh/nvm#macos-troubleshooting"
echo ""
echo -e "🔍 Verifying npm cache\n"
npm cache verify
echo ""