mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-21 19:36:30 +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
|
# NPM paths
|
||||||
# On mac the path should already be taken care of
|
# On mac the path should already be taken care of
|
||||||
if type npm &> /dev/null && [ $DET_OS != "mac" ]; then
|
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
|
fi
|
||||||
|
|
||||||
# Increase memory sizes for java using Ant
|
# Increase memory sizes for java using Ant
|
||||||
|
@ -52,7 +52,7 @@ end
|
|||||||
# NPM paths
|
# NPM paths
|
||||||
# On mac the path should already be taken care of
|
# On mac the path should already be taken care of
|
||||||
if type -q npm ; and [ $det_os != "mac" ]
|
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
|
end
|
||||||
|
|
||||||
# Home paths
|
# Home paths
|
||||||
|
Loading…
Reference in New Issue
Block a user