Skip to content

Commit d9b3271

Browse files
authored
Merge pull request #14559 from michelou/dotty-scaladoc
Fix function classpathArgs()
2 parents 6743a27 + b7d0f63 commit d9b3271

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

dist/bin/scaladoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ classpathArgs () {
9797
CLASS_PATH+="$(find_lib "*flexmark-ext-ins*")$PSEP"
9898
CLASS_PATH+="$(find_lib "*flexmark-ext-superscript*")$PSEP"
9999
CLASS_PATH+="$(find_lib "*antlr4-runtime*")$PSEP"
100-
CLASS_PATH+="$(find_lib "*ST4*")"
101100

102101
jvm_cp_args="-classpath \"$CLASS_PATH\""
103102
}

dist/bin/scaladoc.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,13 @@ call :updateClasspath "flexmark-ext-tables"
144144
call :updateClasspath "flexmark-ext-ins"
145145
call :updateClasspath "flexmark-ext-superscript"
146146
call :updateClasspath "antlr4-runtime"
147-
call :updateClasspath "ST4"
148147
goto :eof
149148

150149
@rem input parameter: %1=pattern for library file
151150
@rem output parameter: _CLASS_PATH
152151
:updateClasspath
153152
set "__PATTERN=%~1"
154-
for /f "delims=" %%f in ('dir /a-d /b "%_LIB_DIR%\*%__PATTERN%*"') do (
153+
for /f "delims=" %%f in ('dir /a-d /b "%_LIB_DIR%\*%__PATTERN%*" 2^>NUL') do (
155154
set "_CLASS_PATH=!_CLASS_PATH!%_LIB_DIR%\%%f%_PSEP%"
156155
)
157156
goto :eof

0 commit comments

Comments
 (0)