We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 399e323 commit 6f06052Copy full SHA for 6f06052
cra-scripts/bito-cra.ps1
@@ -48,9 +48,9 @@ function Validate-GitProvider {
48
# Convert the input to uppercase
49
$git_provider_val = $git_provider_val.ToUpper()
50
51
- # Check if the converted value is either "GITLAB" or "GITHUB"
52
- if ($git_provider_val -ne "GITLAB" -and $git_provider_val -ne "GITHUB") {
53
- Write-Host "Invalid git provider value. Please enter either GITLAB or GITHUB."
+ # Check if the converted value is either "GITLAB" or "GITHUB" or "BITBUCKET"
+ if ($git_provider_val -ne "GITLAB" -and $git_provider_val -ne "GITHUB" -and $git_provider_val -ne "BITBUCKET") {
+ Write-Host "Invalid git provider value. Please enter either GITLAB or GITHUB or BITBUCKET."
54
exit 1
55
}
56
0 commit comments