mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Unable to debug if sourcemap contains absolute paths on windows (WEB-23002)
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ class SourceResolver(private val rawSources: List<String>, internal val canonica
|
||||
|
||||
fun canonicalizePath(url: String, baseUrl: Url, baseUrlIsFile: Boolean): String {
|
||||
var path = url
|
||||
if (url[0] != '/') {
|
||||
if (!FileUtil.isAbsolute(url)) {
|
||||
val basePath = baseUrl.path
|
||||
if (baseUrlIsFile) {
|
||||
val lastSlashIndex = basePath.lastIndexOf('/')
|
||||
|
||||
Reference in New Issue
Block a user