File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,7 @@ while getopts ':a:c:e:h:l:m:p:u:v:w:X:E:I:KNM:APxDV:' OPT; do
6969 EXTRA_OPTS=" ${EXTRA_OPTS:- } -v $HOME /.npmrc:/usr/etc/npmrc:ro -v $HOME /.npmrc:/usr/local/etc/npmrc:ro"
7070 fi
7171 if [ -s " $HOME /.yarnrc" ]; then
72- EXTRA_OPTS=" ${EXTRA_OPTS:- } -v $HOME /.yarnrc:$CONTAINER_HOME /.yarnrc"
73- fi
74- if [ -s " $HOME /.npmrc" -a -s " $HOME /.yarnrc" -a ! -s .npmrc ]; then
75- # workaround for [Yarn not reading /etc/npmrc while npm does](https://github.com/yarnpkg/yarn/issues/1931)
76- EXTRA_OPTS=" ${EXTRA_OPTS:- } -v $HOME /.npmrc:$CONTAINER_HOME /.npmrc:ro"
72+ EXTRA_OPTS=" ${EXTRA_OPTS:- } -v $HOME /.yarnrc:/usr/etc/yarnrc:ro -v $HOME /.yarnrc:/usr/local/etc/yarnrc:ro"
7773 fi
7874 ;;
7975 M)
You can’t perform that action at this time.
0 commit comments