Bugfix:
+npm outdated for local packages
This commit is contained in:
2021-01-19 19:46:52 +01:00
parent a8ec0b2e37
commit 32b861a8f1

View File

@@ -156,7 +156,7 @@ if [ -d "$local_path" ]; then
echo -e "\n${underline}🌿 Search for local packages update...${reset}\n"
outdated=$(npm outdated)
outdated=$(npm outdated --long | sed '1d')
if [ -n "$outdated" ]; then
echo -e "\n${underline}🌿 Updating local packages...${reset}\n"