mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
fix xsd path replacement in --init
This commit is contained in:
parent
6c03be3193
commit
2295756793
@ -222,7 +222,7 @@ if (isset($options['i'])) {
|
|||||||
if (!\Phar::running(false)) {
|
if (!\Phar::running(false)) {
|
||||||
$template = str_replace(
|
$template = str_replace(
|
||||||
'vendor/vimeo/psalm/config.xsd',
|
'vendor/vimeo/psalm/config.xsd',
|
||||||
__DIR__ . DIRECTORY_SEPARATOR . 'config.xsd',
|
'file://' . realpath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'config.xsd'),
|
||||||
$template
|
$template
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user