Fixed an issue when a phar file is used in "files" option in composer.json
parent
8ebf4455f0
commit
41e91f3064
|
@ -294,6 +294,10 @@ EOF;
|
|||
$baseDir = '$vendorDir . ';
|
||||
}
|
||||
|
||||
if(preg_match('/\.phar$/', $path)){
|
||||
$baseDir = '"phar://" . ' . $baseDir;
|
||||
}
|
||||
|
||||
return $baseDir.var_export($path, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue