Fix typo on environment checker for RedHat (#7549)
This commit is contained in:
parent
5232bb4890
commit
4866b5f326
|
@ -157,7 +157,7 @@ function Get-EnvironmentInformation
|
|||
if( -not(
|
||||
$environment.IsDebian -or
|
||||
$environment.IsUbuntu -or
|
||||
$environmment.IsRedHatFamily -or
|
||||
$environment.IsRedHatFamily -or
|
||||
$environment.IsSUSEFamily)
|
||||
) {
|
||||
throw "The current OS : $($LinuxInfo.ID) is not supported for building PowerShell."
|
||||
|
|
Loading…
Reference in a new issue