Skip to content

Commit 0ae257e

Browse files
gwleuverinkgithub-actions[bot]
authored andcommitted
Fix styling
1 parent e08fdcd commit 0ae257e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Builder/Concerns/CopiesToBuildDirectory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ private function copyIncludedFiles(): void
130130
// Prevents /absolute/path on Unix and C:\path on Windows
131131
if (str_starts_with($pattern, '/') || str_contains($pattern, '..') || (PHP_OS_FAMILY === 'Windows' && preg_match('/^[A-Za-z]:/', $pattern))) {
132132
warning("[WARNING] Skipping potentially unsafe include pattern: {$pattern}");
133+
133134
continue;
134135
}
135136

0 commit comments

Comments
 (0)