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 5bb2f5e commit a3549faCopy full SHA for a3549fa
cra-scripts/bito-cra.ps1
@@ -700,6 +700,10 @@ if ($mode -eq "server") {
700
if (-not([string]::IsNullOrEmpty($props[$param_bito_access_key])) -and -not([string]::IsNullOrEmpty($props[$param_git_access_token]))) {
701
if ($props[$param_git_provider] -eq "BITBUCKET") {
702
$git_secret = $props[$param_git_access_token]
703
+ # Truncate if longer than 60 characters
704
+ if ($git_secret.Length -gt 60) {
705
+ $git_secret = $git_secret.Substring(0, 60)
706
+ }
707
} else {
708
$git_secret = "$($props[$param_bito_access_key])@#~^$($props[$param_git_access_token])"
709
}
0 commit comments