mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +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)) {
|
||||
$template = str_replace(
|
||||
'vendor/vimeo/psalm/config.xsd',
|
||||
__DIR__ . DIRECTORY_SEPARATOR . 'config.xsd',
|
||||
'file://' . realpath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'config.xsd'),
|
||||
$template
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user