mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-13 04:45:19 +00:00
fix build error
This commit is contained in:
parent
7d5a85ad8b
commit
ba698758d4
2 changed files with 15 additions and 2 deletions
|
|
@ -11,6 +11,19 @@ If you're not familiar with Sourcebot [connections](/docs/connections/overview),
|
|||
## Examples
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Enable TFS path support">
|
||||
This is required if you're using an older version of ADO Server which has `/tfs` in the repo paths.
|
||||
```json
|
||||
{
|
||||
"type": "azuredevops",
|
||||
"useTfsPath": true
|
||||
"repos": [
|
||||
"organizationName/projectName/repoName",
|
||||
"organizationName/projectName/repoName2
|
||||
]
|
||||
}
|
||||
```
|
||||
</Accordion>
|
||||
<Accordion title="Sync individual repos">
|
||||
```json
|
||||
{
|
||||
|
|
|
|||
|
|
@ -57,9 +57,9 @@ export const getAzureDevOpsReposFromConfig = async (
|
|||
repos: [],
|
||||
};
|
||||
|
||||
if (config.organizations) {
|
||||
if (config.orgs) {
|
||||
const { validRepos, notFoundOrgs } = await getReposForOrganizations(
|
||||
config.organizations,
|
||||
config.orgs,
|
||||
baseUrl,
|
||||
token,
|
||||
useTfsPath
|
||||
|
|
|
|||
Loading…
Reference in a new issue