Skip to content

Commit 4f397ca

Browse files
committed
Merge branch 'refactor/cleanup_include_files' of github.com:NativePHP/desktop into refactor/cleanup_include_files
2 parents 8e5a5d5 + b53c3ed commit 4f397ca

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Builder/Concerns/CopiesToBuildDirectory.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,15 @@ private function copyIncludedFiles(): void
121121
));
122122

123123
foreach ($patterns as $pattern) {
124-
$matchingFiles = glob($sourcePath . '/' . $pattern, GLOB_BRACE);
124+
$matchingFiles = glob($sourcePath.'/'.$pattern, GLOB_BRACE);
125125

126126
foreach ($matchingFiles as $sourceFile) {
127127
$relativePath = substr($sourceFile, strlen($sourcePath) + 1);
128-
$targetFile = $buildPath . '/' . $relativePath;
128+
$targetFile = $buildPath.'/'.$relativePath;
129129

130130
// Create target directory if it doesn't exist
131131
$targetDir = dirname($targetFile);
132-
if (!is_dir($targetDir)) {
132+
if (! is_dir($targetDir)) {
133133
$filesystem->mkdir($targetDir, 0755);
134134
}
135135

@@ -148,5 +148,4 @@ private function copyIncludedFiles(): void
148148
}
149149
}
150150
}
151-
152151
}

0 commit comments

Comments
 (0)