File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,10 @@ RUN yarn global add npm yarn
15
15
16
16
RUN yarn global add @sourcegraph/scip-typescript@${TAG} @sourcegraph/src
17
17
18
+ RUN mv /usr/local/bin/yarn /usr/local/bin/actual-yarn
19
+ COPY ./dev/lenient-yarn.sh /usr/local/bin/yarn
20
+
21
+ RUN mv /usr/local/bin/npm /usr/local/bin/actual-npm
22
+ COPY ./dev/lenient-npm.sh /usr/local/bin/npm
23
+
18
24
CMD ["/bin/sh"]
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eux
3
+
4
+ if [ $# -gt 0 ] && [ " $1 " == " install" ]; then
5
+ /usr/local/bin/actual-npm " $@ " || true
6
+ else
7
+ /usr/local/bin/actual-npm " $@ "
8
+ fi
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eux
3
+
4
+ if [ $# -gt 1 ] && [ " $1 " == " install" ]; then
5
+ /usr/local/bin/actual-yarn " $@ " || true
6
+ else
7
+ /usr/local/bin/actual-yarn " $@ "
8
+ fi
You can’t perform that action at this time.
0 commit comments