diff --git a/dev/lenient-npm.sh b/dev/lenient-npm.sh index 4a014742..b9ffdd82 100755 --- a/dev/lenient-npm.sh +++ b/dev/lenient-npm.sh @@ -1,8 +1,9 @@ #!/usr/bin/env bash set -eux + if [ $# -gt 0 ] && [ "$1" == "install" ]; then - /usr/local/bin/actual-npm "$@" || true + /usr/local/bin/actual-npm "$@" || echo "scip-typescript: ignoring npm install failure, will try to auto-index the project with partial dependency information" else /usr/local/bin/actual-npm "$@" fi diff --git a/dev/lenient-yarn.sh b/dev/lenient-yarn.sh index f3e59034..774dd279 100755 --- a/dev/lenient-yarn.sh +++ b/dev/lenient-yarn.sh @@ -2,7 +2,7 @@ set -eux if [ $# -gt 1 ] && [ "$1" == "install" ]; then - /usr/local/bin/actual-yarn "$@" || true + /usr/local/bin/actual-yarn "$@" || echo "scip-typescript: ignoring yarn install failure, will try to auto-index the project with partial dependency information" else /usr/local/bin/actual-yarn "$@" fi