mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
better no-cover for windows
This commit is contained in:
parent
8c550d0157
commit
2af0b0b4f3
6 changed files with 11 additions and 15 deletions
|
|
@ -28,7 +28,7 @@ def get_env_patch(venv):
|
|||
install_prefix = r'{}\bin'.format(win_venv.strip())
|
||||
elif sys.platform == 'win32': # pragma: no cover
|
||||
install_prefix = bin_dir(venv)
|
||||
else:
|
||||
else: # pragma: windows no cover
|
||||
install_prefix = venv
|
||||
return (
|
||||
('NODE_VIRTUAL_ENV', venv),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue