Skip to content

Commit 62fde84

Browse files
committed
fix(intellij): remove trailing slash from URIs
1 parent 6fdd81d commit 62fde84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intellij-client/src/main/kotlin/dev/robotcode/robotcode4ij/testing/RobotCodeTestManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ private fun getRfcCompliantUri(virtualFile: VirtualFile): String {
344344
filePath
345345
}
346346

347-
return Paths.get(normalizedPath).toUri().toString()
347+
return Paths.get(normalizedPath).toUri().toString().removeSuffix("/")
348348
}
349349

350350
private fun isWindows(): Boolean = System.getProperty("os.name").lowercase().contains("win")

0 commit comments

Comments
 (0)