pastojs: fixed create relative paths without shared based directory

git-svn-id: trunk@42874 -
This commit is contained in:
Mattias Gaertner 2019-08-30 03:47:22 +00:00
parent 73ba1e6292
commit f741c85283

View File

@ -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,