hjanuschka / fastlane-plugin-cryptex

MIT License
36 stars 16 forks source link

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

Open sergeymorkovkin opened 4 years ago

sergeymorkovkin commented 4 years ago

https://github.com/hjanuschka/fastlane-plugin-cryptex/blob/8897241dafe8ccaeb7f6543d2dd09d820de765c3/lib/fastlane/plugin/cryptex/git_helper.rb#L115

image
airtonix commented 3 years ago

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