mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
fix absolute source map paths on windows (WEB-25102)
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ class SourceResolver(private val rawSources: List<String>, internal val canonica
|
||||
|
||||
fun canonicalizePath(url: String, baseUrl: Url, baseUrlIsFile: Boolean): String {
|
||||
var path = url
|
||||
if (!FileUtil.isAbsolute(url)) {
|
||||
if (!FileUtil.isAbsolute(url) && url[0] != '/') {
|
||||
val basePath = baseUrl.path
|
||||
if (baseUrlIsFile) {
|
||||
val lastSlashIndex = basePath.lastIndexOf('/')
|
||||
|
||||
Reference in New Issue
Block a user