File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ RUN apk add --no-cache git bash curl ca-certificates python3 make libstdc++ libg
1111# conversion.
1212RUN echo 'scip-typescript "$@" --no-progress-bar' > /usr/bin/scip-typescript-autoindex && chmod +x /usr/bin/scip-typescript-autoindex
1313
14- RUN yarn global add npm yarn
14+ RUN yarn global add npm yarn n
1515
1616RUN yarn global add @sourcegraph/scip-typescript@${TAG} @sourcegraph/src
1717
@@ -21,4 +21,7 @@ COPY ./dev/lenient-yarn.sh /usr/local/bin/yarn
2121RUN mv /usr/local/bin/npm /usr/local/bin/actual-npm
2222COPY ./dev/lenient-npm.sh /usr/local/bin/npm
2323
24+ RUN mv /usr/local/bin/n /usr/local/bin/actual-n
25+ COPY ./dev/lenient-n.sh /usr/local/bin/n
26+
2427CMD ["/bin/sh"]
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -eux
3+
4+ /usr/local/bin/actual-n " $@ " || echo " scip-typescript: ignoring n auto failure, will try to auto-index the project with the pre-installed node version"
You can’t perform that action at this time.
0 commit comments