Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶open central when i select watch #10

Open
GraphtyLove opened this issue May 19, 2019 · 2 comments
Open

馃悶open central when i select watch #10

GraphtyLove opened this issue May 19, 2019 · 2 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers
Projects

Comments

@GraphtyLove
Copy link

Describe the bug
When i select the watch repo with the open command it open me the central repo.

To Reproduce
Steps to reproduce the behavior:

  1. type command: becode open
  2. Then select watch
  3. It open the central repo

Expected behavior
I expected that open the watch's repo

Screenshots
Capture d鈥檈虂cran 2019-05-20 a虁 00 29 01

Desktop (please complete the following information):

  • OS: Ios
  • Browser: Firefox dev 茅dition

Additional context
I selected watch option with arrows and return

@leny leny self-assigned this May 19, 2019
@leny leny added the bug Something isn't working label May 19, 2019
@leny
Copy link
Contributor

leny commented May 19, 2019

Thanks for the report! 馃憤

Will try to look at it tomorrow.

@leny leny added the good first issue Good for newcomers label May 19, 2019
@leny leny added this to To do (next release) in Roadmap May 19, 2019
@leny leny changed the title open central when i select watch 馃悶open central when i select watch May 28, 2019
@Farid212
Copy link
Contributor

Farid212 commented Aug 4, 2019

watch: repositoryTarget("central", "Watch"),

as key you gave Central and as data you gave Watch

open.js :

const repositoryTarget = (key, name) => [
        openRepository.bind(null, data, key),
        `Open ${name} repository`,
    ];

repository.js :

openRepository = (data, target) => {
    reporter.log(`Opening ${chalk.cyan(target)} repository...`);
    opn(data[target], {wait: false});

you tell your function to open central repo within the name watch

I did a little PR to correct that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Roadmap
  
To do (next release)
Development

No branches or pull requests

3 participants