mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-05 23:20:11 +02:00
pastojs: fixed create relative paths without shared based directory
This commit is contained in:
parent
d539546850
commit
7651157066
@ -1810,7 +1810,7 @@ function TPas2jsFilesCache.TryCreateRelativePath(const Filename, BaseDirectory:
|
||||
UsePointDirectory: boolean; out RelPath: String): Boolean;
|
||||
begin
|
||||
Result:=Pas2jsFileUtils.TryCreateRelativePath(Filename, BaseDirectory,
|
||||
UsePointDirectory, true, RelPath);
|
||||
UsePointDirectory, false, RelPath);
|
||||
end;
|
||||
|
||||
function TPas2jsFilesCache.FindIncludeFileName(const aFilename,
|
||||
|
Loading…
Reference in New Issue
Block a user