mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-15 13:55:20 +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
|
## Examples
|
||||||
|
|
||||||
<AccordionGroup>
|
<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">
|
<Accordion title="Sync individual repos">
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -57,9 +57,9 @@ export const getAzureDevOpsReposFromConfig = async (
|
||||||
repos: [],
|
repos: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
if (config.organizations) {
|
if (config.orgs) {
|
||||||
const { validRepos, notFoundOrgs } = await getReposForOrganizations(
|
const { validRepos, notFoundOrgs } = await getReposForOrganizations(
|
||||||
config.organizations,
|
config.orgs,
|
||||||
baseUrl,
|
baseUrl,
|
||||||
token,
|
token,
|
||||||
useTfsPath
|
useTfsPath
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue