Skip to content

Commit 1dd0df5

Browse files
Update bito-cra.ps1 - release - 2.5.0
1 parent 91b8a4a commit 1dd0df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cra-scripts/bito-cra.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function Validate-GitProvider {
4949
$git_provider_val = $git_provider_val.ToUpper()
5050

5151
# Check if the converted value is either "GITLAB" or "GITHUB" or "BITBUCKET"
52-
if ($git_provider_val -ne "GITLAB" -and $git_provider_val -ne "GITHUB" -and $git_provider_val -ne "BITBUCKET" and $git_provider_val -ne "BITBUCKET-ENTERPRISE") {
52+
if ($git_provider_val -ne "GITLAB" -and $git_provider_val -ne "GITHUB" -and $git_provider_val -ne "BITBUCKET" -and $git_provider_val -ne "BITBUCKET-ENTERPRISE") {
5353
Write-Host "Invalid git provider value. Please enter either GITLAB or GITHUB or BITBUCKET or BITBUCKET-ENTERPRISE."
5454
exit 1
5555
}

0 commit comments

Comments
 (0)