Skip to content
Snippets Groups Projects
Commit e4f8566f authored by mohd hassaan's avatar mohd hassaan Committed by Rhys Arkins
Browse files

fix(azure-devops):Sanitize azure devops repoName (#3620)

fix(azure-devops): Sanitize azure devops repo name
parent 73a0fa41
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,7 @@ async function initRepo({ repository, endpoint, localDir, azureWorkItemId }) {
const [projectName, repoName] = repository.split('/');
const url =
endpoint.replace('https://', `https://token:${opts.token}@`) +
`${encodeURIComponent(projectName)}/_git/${repoName}`;
`${encodeURIComponent(projectName)}/_git/${encodeURIComponent(repoName)}`;
await config.storage.initRepo({
...config,
localDir,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment