Skip to content

Commit cc794d1

Browse files
committed
fix path
1 parent ef92112 commit cc794d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/SearchCode/PhpParserService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public function translationsByFiles(
216216
$translations = static::scanCode($content);
217217
} catch (\Throwable $th) {
218218
throw new Exception(
219-
"File can't be parsed: {$file->getPath()}. Your file might contain a syntax error. You can either fix the file or add it to the ignored path.",
219+
"File can't be parsed: {$file->getRealPath()}. Your file might contain a syntax error. You can either fix the file or add it to the ignored path.",
220220
code: 422,
221221
previous: $th
222222
);

0 commit comments

Comments
 (0)