Skip to content

Commit ba69875

Browse files
committed
fix build error
1 parent 7d5a85a commit ba69875

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

docs/docs/connections/ado-server.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@ If you're not familiar with Sourcebot [connections](/docs/connections/overview),
1111
## Examples
1212

1313
<AccordionGroup>
14+
<Accordion title="Enable TFS path support">
15+
This is required if you're using an older version of ADO Server which has `/tfs` in the repo paths.
16+
```json
17+
{
18+
"type": "azuredevops",
19+
"useTfsPath": true
20+
"repos": [
21+
"organizationName/projectName/repoName",
22+
"organizationName/projectName/repoName2
23+
]
24+
}
25+
```
26+
</Accordion>
1427
<Accordion title="Sync individual repos">
1528
```json
1629
{

packages/backend/src/azuredevops.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ export const getAzureDevOpsReposFromConfig = async (
5757
repos: [],
5858
};
5959

60-
if (config.organizations) {
60+
if (config.orgs) {
6161
const { validRepos, notFoundOrgs } = await getReposForOrganizations(
62-
config.organizations,
62+
config.orgs,
6363
baseUrl,
6464
token,
6565
useTfsPath

0 commit comments

Comments
 (0)