From 32b861a8f1f4920f1a8fe0d2342bfd0216f1527f Mon Sep 17 00:00:00 2001 From: Bruno 21 Date: Tue, 19 Jan 2021 19:46:52 +0100 Subject: [PATCH] node.sh Bugfix: +npm outdated for local packages --- plugins.d/node.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.d/node.sh b/plugins.d/node.sh index 4d5b699..1e663d3 100755 --- a/plugins.d/node.sh +++ b/plugins.d/node.sh @@ -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"