Skip to content

Commit 15979d4

Browse files
committed
fix double path
1 parent 1a164fa commit 15979d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/store/pkg/GoModFrankenphp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function extract(string $name): void
4545
$lock = json_decode(FileSystem::readFile(DOWNLOAD_PATH . '/.lock.json'), true);
4646
$source_type = $lock[$name]['source_type'];
4747
$filename = DOWNLOAD_PATH . '/' . ($lock[$name]['filename'] ?? $lock[$name]['dirname']);
48-
$extract = $lock[$name]['move_path'] === null ? (PKG_ROOT_PATH . "{$pkgroot}/{$name}") : $lock[$name]['move_path'];
48+
$extract = $lock[$name]['move_path'] === null ? "{$pkgroot}/{$name}" : $lock[$name]['move_path'];
4949

5050
FileSystem::extractPackage($name, $source_type, $filename, $extract);
5151

0 commit comments

Comments
 (0)