revert: "fix: do not convert ssh repositoryUrl to https"

This reverts commit b89523105c.
This commit is contained in:
Pierre Vanduynslager
2018-08-10 13:16:29 -04:00
parent b89523105c
commit 93377eb636
2 changed files with 2 additions and 23 deletions
-13
View File
@@ -265,16 +265,3 @@ test('Do not add git credential to repositoryUrl if push is allowed', async t =>
repositoryUrl
);
});
test('Do not add git credentials if repositoryUrl is a "ssh" URL', async t => {
const {cwd} = await gitRepo();
t.is(
await getAuthUrl({
cwd,
env: {...env, GIT_CREDENTIALS: 'user:pass'},
options: {branch: 'master', repositoryUrl: 'ssh://git@host.null/owner/repo.git'},
}),
'ssh://git@host.null/owner/repo.git'
);
});