Skip to content

Commit f1e345e

Browse files
committed
fix: fileperms(): stat failed for public/storage
1 parent d3e291f commit f1e345e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/CopiesToBuildDirectory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function copyToBuildDirectory(): bool
113113
}
114114

115115
if (PHP_OS_FAMILY !== 'Windows') {
116-
$perms = fileperms($item->getPathname());
116+
$perms = @fileperms($item->getPathname());
117117
if ($perms !== false) {
118118
chmod($target, $perms);
119119
}

0 commit comments

Comments
 (0)