diff --git a/lib/platform/azure/index.js b/lib/platform/azure/index.js index 08ec3e41b979764753b6347f08cd2680c0874a79..b53c9f5cfd4abab6badd9fcec71837d979879c61 100644 --- a/lib/platform/azure/index.js +++ b/lib/platform/azure/index.js @@ -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,