mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
FIX #1047
FIx for issue [CLI -i flag not being processed correctly](https://github.com/vimeo/psalm/issues/1047)
This commit is contained in:
parent
1a08b69d9c
commit
14b99203d5
@ -267,7 +267,7 @@ if (isset($options['i'])) {
|
||||
function ($arg) {
|
||||
return $arg !== '--ansi'
|
||||
&& $arg !== '--no-ansi'
|
||||
&& $arg !== '--i'
|
||||
&& $arg !== '-i'
|
||||
&& $arg !== '--init'
|
||||
&& strpos($arg, '--root=') !== 0
|
||||
&& strpos($arg, '--r=') !== 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user