mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 10:59:10 +02:00
pastojs: fixed create relative paths without shared based directory
git-svn-id: trunk@42874 -
This commit is contained in:
parent
73ba1e6292
commit
f741c85283
@ -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