Remove unnecessary realpath() in old class files #2310

This commit is contained in:
Kijin Sung 2024-04-30 23:03:57 +09:00
parent c32eb69a20
commit 6e72186d1f
2 changed files with 1 additions and 3 deletions

View file

@ -2223,7 +2223,7 @@ class Context
$file = $autoPath;
}
}
$validator = new Validator($file);
$validator = new Validator(FileHandler::getRealPath($file));
$validator->setCacheDir('files/cache');
$file = $validator->getJsPath();
}