[cli] revert git connect inside vc link (#8450)

This commit is contained in:
Sean Massa
2022-08-24 09:07:04 -05:00
committed by GitHub
parent ad0ed6d852
commit 34cd8b4144
16 changed files with 3 additions and 774 deletions

View File

@@ -39,11 +39,6 @@ describe('git', () => {
await expect(client.stderr).toOutput('Found project');
client.stdin.write('y\n');
await expect(client.stderr).toOutput(
'Do you want to connect "origin" to your Vercel project?'
);
client.stdin.write('n\n');
await expect(client.stderr).toOutput(
`Connecting Git remote: https://github.com/user/repo.git`
);
@@ -295,7 +290,7 @@ describe('git', () => {
`Connecting Git remote: https://github.com/laksfj/asdgklsadkl`
);
await expect(client.stderr).toOutput(
`Failed to link laksfj/asdgklsadkl. Make sure there aren't any typos and that you have access to the repository if it's private.`
`Failed to connect laksfj/asdgklsadkl to project. Make sure there aren't any typos and that you have access to the repository if it's private.`
);
const exitCode = await gitPromise;