mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-25 18:28:59 +02:00
pastojs: source map: prepend absolute source files with file://
This commit is contained in:
parent
3c1a2a7bbd
commit
e6b6f7fd88
@ -2254,6 +2254,8 @@ begin
|
||||
MapFilename:=LocalFilename;
|
||||
end;
|
||||
end;
|
||||
if FilenameIsAbsolute(MapFilename) then
|
||||
MapFilename:='file://'+MapFilename;
|
||||
{$IFNDEF Unix}
|
||||
// use / as PathDelim
|
||||
if PathDelim<>'/' then
|
||||
|
Loading…
Reference in New Issue
Block a user