mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
3 slashes works around an npm bug
https://npm.community/t/npm-install-g-git-file-c-path-to-repository-does-not-work-on-windows/5453
This commit is contained in:
parent
136834038d
commit
6088b1f995
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ def install_environment(prefix, version, additional_dependencies):
|
||||||
cmd.extend(['-n', version])
|
cmd.extend(['-n', version])
|
||||||
cmd_output(*cmd)
|
cmd_output(*cmd)
|
||||||
|
|
||||||
dep = 'git+file://{}'.format(prefix.prefix_dir)
|
dep = 'git+file:///{}'.format(prefix.prefix_dir)
|
||||||
with in_env(prefix, version):
|
with in_env(prefix, version):
|
||||||
helpers.run_setup_cmd(
|
helpers.run_setup_cmd(
|
||||||
prefix,
|
prefix,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue