mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 23:35:40 +08:00
Remove perl.exe check log in doctor
This commit is contained in:
@@ -71,7 +71,7 @@ class WindowsToolCheckList
|
||||
if (($path = SystemUtil::findCommand('perl.exe')) === null) {
|
||||
return CheckResult::fail('perl not found in path.', 'install-perl');
|
||||
}
|
||||
if (!str_contains(implode('', cmd()->execWithResult(quote($path) . ' -v')[1]), 'MSWin32')) {
|
||||
if (!str_contains(implode('', cmd()->execWithResult(quote($path) . ' -v', false)[1]), 'MSWin32')) {
|
||||
return CheckResult::fail($path . ' is not built for msvc.', 'install-perl');
|
||||
}
|
||||
return CheckResult::ok();
|
||||
|
||||
Reference in New Issue
Block a user