fix relative paths resolver, add comments

This commit is contained in:
yggverse 2024-06-25 23:25:32 +03:00
parent 88cde4a0d8
commit 1d6f24c4ed
2 changed files with 85 additions and 46 deletions

View file

@ -243,7 +243,7 @@ class Cli
// Absolute option skipped, make local path relative
if (!$this->option->absolute)
{
$local = Filesystem::getFilenameRelativeToDirname(
$local = $this->filesystem->getFilenameRelativeToDirname(
$local,
dirname(
$filename