[cli] MAJOR: remove vc deploy clipboard copy feature (#8085)

https://vercel.slack.com/archives/C03F2CMNGKG/p1656971502881949

Right now, `vc deploy` automatically copies the deploy url to your clipboard after the deployment has finished. You can opt out via the `--no-clipboard` flag, but the feature is enabled by default.

This is strange behavior—there's no indication that the CLI will hijack your clipboard, and you don't know it's been hijacked until after it happens.

This PR removes the clipboard copying feature as well as the `--no-clipboard` flag.

### 📋 Checklist

<!--
  Please keep your PR as a Draft until the checklist is complete
-->

#### Tests

- [ ] The code changed/added as part of this PR has been covered with tests
- [ ] All tests pass locally with `yarn test-unit`

#### Code Review

- [ ] This PR has a concise title and thorough description useful to a reviewer
- [ ] Issue from task tracker has a link to this PR
This commit is contained in:
Matthew Stanciu
2022-07-06 11:04:13 -07:00
committed by GitHub
parent afc4388fc0
commit 87fc38e860
6 changed files with 4 additions and 98 deletions

View File

@@ -348,7 +348,6 @@ function testFixtureStdio(
: []),
'deploy',
'--public',
'--no-clipboard',
'--debug',
],
{ cwd, stdio: 'pipe', reject: false }