rycus86 / githooks

Githooks: per-repo and global Git hooks with version control
MIT License
382 stars 20 forks source link

Test if /dev/tty can be opened before reading it #88

Closed gabyx closed 4 years ago

gabyx commented 4 years ago

Better implementation as suggested from #85. The prompt needs to be shown because of the tests and I would leave it like this...

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 561


Changes Missing Coverage Covered Lines Changed/Added Lines %
base-template.sh 1 2 50.0%
<!-- Total: 1 2 50.0% -->
Totals Coverage Status
Change from base Build 557: -0.04%
Covered Lines: 1954
Relevant Lines: 2242

💛 - Coveralls
rycus86 commented 4 years ago

Thanks a lot!