fix build error

This commit is contained in:
msukkari 2025-09-17 18:01:15 -07:00
parent 7d5a85ad8b
commit ba698758d4
2 changed files with 15 additions and 2 deletions

View file

@ -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
{

View file

@ -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