pastojs: fixed create relative paths without shared based directory

This commit is contained in:
mattias 2019-08-30 03:47:47 +00:00
parent d539546850
commit 7651157066

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,