mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-21 19:56:29 +00:00
Remove error output from npm when building path
This commit is contained in:
parent
f46e37185d
commit
f7447d97ec
@ -63,7 +63,8 @@ fi
|
||||
# NPM paths
|
||||
# On mac the path should already be taken care of
|
||||
if type npm &> /dev/null && [ $DET_OS != "mac" ]; then
|
||||
export PATH=$PATH:$(npm bin -g)
|
||||
# This seems to fail in some cases
|
||||
export PATH=$PATH:$(npm bin -g 2> /dev/null)
|
||||
fi
|
||||
|
||||
# Increase memory sizes for java using Ant
|
||||
|
@ -52,7 +52,7 @@ end
|
||||
# NPM paths
|
||||
# On mac the path should already be taken care of
|
||||
if type -q npm ; and [ $det_os != "mac" ]
|
||||
set -gx PATH $PATH (npm bin -g)
|
||||
set -gx PATH $PATH (npm bin -g 2> /dev/null)
|
||||
end
|
||||
|
||||
# Home paths
|
||||
|
Loading…
Reference in New Issue
Block a user