Skip to content

Commit 29a772b

Browse files
Fix ensureFileExists call in Serializer exists method to prevent recreation of files
1 parent 56a264b commit 29a772b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Utils/Serializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function __construct(
1212

1313
public static function exists(string $file_path): bool
1414
{
15-
DirectoryService::ensureFileExists($file_path);
15+
DirectoryService::ensureFileExists($file_path, recreate: false);
1616

1717
try {
1818
return file_exists($file_path);

0 commit comments

Comments
 (0)