File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
ui/src/app/settings/components/repos-list Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ export class ReposList extends React.Component<
219
219
tlsClientCertKey : ! validURLValues . tlsClientCertKey && validURLValues . tlsClientCertData && 'TLS client cert key is required if TLS client cert is given.' ,
220
220
bearerToken :
221
221
( validURLValues . password && validURLValues . bearerToken && 'Either the password or the bearer token must be set, but not both.' ) ||
222
- ( validURLValues . type != 'git' && 'Bearer token is only supported for Git BitBucket Data Center repositories.' )
222
+ ( validURLValues . bearerToken && validURLValues . type != 'git' && 'Bearer token is only supported for Git BitBucket Data Center repositories.' )
223
223
} ;
224
224
case ConnectionMethod . GITHUBAPP :
225
225
const githubAppValues = params as NewGitHubAppRepoParams ;
You can’t perform that action at this time.
0 commit comments