mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Minor things to trigger a build.
This commit is contained in:
parent
58b5845edd
commit
37d3dc0c82
2 changed files with 2 additions and 3 deletions
|
|
@ -5,5 +5,4 @@
|
||||||
|
|
||||||
A framework for managing and maintaining multi-language pre-commit hooks.
|
A framework for managing and maintaining multi-language pre-commit hooks.
|
||||||
|
|
||||||
For more information see: http://pre-commit.com
|
For more information see: http://pre-commit.com/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ def _install_rbenv(repo_cmd_runner, version='default'):
|
||||||
def _install_ruby(environment, version):
|
def _install_ruby(environment, version):
|
||||||
try:
|
try:
|
||||||
environment.run('rbenv download {0}'.format(version))
|
environment.run('rbenv download {0}'.format(version))
|
||||||
except CalledProcessError:
|
except CalledProcessError: # pragma: no cover (usually find with download)
|
||||||
# Failed to download from mirror for some reason, build it instead
|
# Failed to download from mirror for some reason, build it instead
|
||||||
environment.run('rbenv install {0}'.format(version))
|
environment.run('rbenv install {0}'.format(version))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue