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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The branch_exists doesn't properly work, always returns true #18

Open
sergeymorkovkin opened this issue Apr 20, 2020 · 1 comment
Open

Comments

@sergeymorkovkin
Copy link

FastlaneCore::CommandExecutor.execute(command: "git branch --list origin/#{branch.shellescape} --no-color -r",

image

@sergeymorkovkin sergeymorkovkin changed the title This command doesn't work, always returns branch exists The branch_exists doesn't properly work, always returns true Apr 20, 2020
@airtonix
Copy link

i think it's because that command actually results in an interactive state. where as the following results in the output going straight to stdout:

git branch --list origin/development --no-color -r | xargs echo

Peek 2021-02-28 09-25

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