node.sh
Bugfix: +npm outdated for local packages
This commit is contained in:
@@ -156,7 +156,7 @@ if [ -d "$local_path" ]; then
|
|||||||
|
|
||||||
|
|
||||||
echo -e "\n${underline}🌿 Search for local packages update...${reset}\n"
|
echo -e "\n${underline}🌿 Search for local packages update...${reset}\n"
|
||||||
outdated=$(npm outdated)
|
outdated=$(npm outdated --long | sed '1d')
|
||||||
if [ -n "$outdated" ]; then
|
if [ -n "$outdated" ]; then
|
||||||
|
|
||||||
echo -e "\n${underline}🌿 Updating local packages...${reset}\n"
|
echo -e "\n${underline}🌿 Updating local packages...${reset}\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user