diff --git a/compiler/packages/pastojs/src/pas2jsfilecache.pp b/compiler/packages/pastojs/src/pas2jsfilecache.pp index bece958..4af2bf9 100644 --- a/compiler/packages/pastojs/src/pas2jsfilecache.pp +++ b/compiler/packages/pastojs/src/pas2jsfilecache.pp @@ -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,