Skip to content

Commit

Permalink
check if git is available
Browse files Browse the repository at this point in the history
  • Loading branch information
srafi1 committed Oct 19, 2020
1 parent 005f52c commit b366ef6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/use.bats
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bats

which git >&2
setup() {
export branch=$(git branch | grep "\*" | cut -d " " -f 2)
}
Expand Down

0 comments on commit b366ef6

Please sign in to comment.