Skip to content

Commit 2d07135

Browse files
committed
fixup! Fix tests on Windows
Signed-off-by: Sergey Karpov <sergey.karpov@jetbrains.com>
1 parent 656e092 commit 2d07135

File tree

1 file changed

+3
-1
lines changed
  • kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/typescript

1 file changed

+3
-1
lines changed

kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/typescript/TypeScriptTestBase.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ abstract class TypeScriptTestBase {
173173
killProcessOnPort(port)
174174

175175
if (!sdkDir.exists() || !sdkDir.isDirectory) {
176-
throw IllegalStateException("TypeScript SDK directory does not exist or is not accessible: ${sdkDir.absolutePath}")
176+
throw IllegalStateException(
177+
"TypeScript SDK directory does not exist or is not accessible: ${sdkDir.absolutePath}",
178+
)
177179
}
178180

179181
val isWindows = System.getProperty("os.name").lowercase().contains("windows")

0 commit comments

Comments
 (0)