Skip to content

Commit 88d99a7

Browse files
Update src/SPC/store/SourcePatcher.php
Co-authored-by: Copilot <[email protected]>
1 parent ad080da commit 88d99a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/store/SourcePatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public static function patchFile(string $patch_name, string $cwd, bool $reverse
181181
// Copy patch from phar
182182
if (str_starts_with($patch_str, 'phar://')) {
183183
$filename = pathinfo($patch_file, PATHINFO_BASENAME);
184-
file_put_contents(SOURCE_PATH . "{$filename}", file_get_contents($patch_file));
184+
file_put_contents(SOURCE_PATH . "/{$filename}", file_get_contents($patch_file));
185185
$patch_str = FileSystem::convertPath(SOURCE_PATH . "/{$filename}");
186186
}
187187

0 commit comments

Comments
 (0)