Skip to content

netlify link doesn't recognize sites in different teams #498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RaeesBhatti opened this issue Aug 31, 2019 · 1 comment · Fixed by #500
Closed

netlify link doesn't recognize sites in different teams #498

RaeesBhatti opened this issue Aug 31, 2019 · 1 comment · Fixed by #500

Comments

@RaeesBhatti
Copy link
Contributor

- Do you want to request a feature or report a bug?
Bug
- What is the current behavior?
netlify link doesn't recognize a site in non-default team.
- If the current behavior is a bug, please provide the steps to reproduce.

  • Have a site in a friend's team where you're added as a collaborator
  • netlify link
  • It will not recognize the Netlify site and error out

- What is the expected behavior?
netlify link should recognize sites in all teams I'm a member of.
- Local Environment Information
Paste the results of netlify status --info here

›   Error: Unexpected argument: --info
›   See more help with --help
@verythorough
Copy link
Contributor

This happens because the listSites() calls in link-by-prompt.js don't have the filter: 'all' parameter set. I'm working on a quick PR that includes this fix, plus a partial fix for #496.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants