File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 59
59
# SCALA_CLI_CMD_BASH is an array, set by cli-common-platform
60
60
eval " ${SCALA_CLI_CMD_BASH[@]} " \
61
61
" --prog-name scala" \
62
+ " --skip-cli-updates" \
62
63
" --cli-default-scala-version \" $SCALA_VERSION \" " \
63
64
" -r \" $MVN_REPOSITORY \" " \
64
65
" ${scala_args[@]} "
Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ call :setScalaOpts
21
21
22
22
call " %_PROG_HOME% \bin\cli-common-platform.bat"
23
23
24
- @ rem SCALA_CLI_CMD_WIN is an array, set in cli-common-platform.bat
25
- call %SCALA_CLI_CMD_WIN% " --prog-name" " scala" " --cli-default-scala-version" " %_SCALA_VERSION% " " -r" " %MVN_REPOSITORY% " %*
24
+ @ rem SCALA_CLI_CMD_WIN is an array, set in cli-common-platform.bat.
25
+ @ rem WE NEED TO PASS '--skip-cli-updates' for JVM launchers but we actually don't need it for native launchers
26
+ call %SCALA_CLI_CMD_WIN% " --prog-name" " scala" " --skip-cli-updates" " --cli-default-scala-version" " %_SCALA_VERSION% " " -r" " %MVN_REPOSITORY% " %*
26
27
27
28
if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
28
29
You can’t perform that action at this time.
0 commit comments