File tree 2 files changed +8
-1
lines changed 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
11
11
# conversion.
12
12
RUN echo 'scip-typescript "$@" --no-progress-bar' > /usr/bin/scip-typescript-autoindex && chmod +x /usr/bin/scip-typescript-autoindex
13
13
14
- RUN yarn global add npm yarn
14
+ RUN yarn global add npm yarn n
15
15
16
16
RUN yarn global add @sourcegraph/scip-typescript@${TAG} @sourcegraph/src
17
17
@@ -21,4 +21,7 @@ COPY ./dev/lenient-yarn.sh /usr/local/bin/yarn
21
21
RUN mv /usr/local/bin/npm /usr/local/bin/actual-npm
22
22
COPY ./dev/lenient-npm.sh /usr/local/bin/npm
23
23
24
+ RUN mv /usr/local/bin/n /usr/local/bin/actual-n
25
+ COPY ./dev/lenient-n.sh /usr/local/bin/n
26
+
24
27
CMD ["/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