mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 01:51:46 +04:00
Update conda.py
This commit is contained in:
parent
98bb7e6630
commit
54b88e078a
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ def install_environment(
|
|||
env_dir = prefix.path(directory)
|
||||
with clean_path_on_failure(env_dir):
|
||||
cmd_output_b(
|
||||
conda_exe, 'env', 'create', '-p', env_dir, '--file',
|
||||
conda_exe, *(['env'] if 'micro' not in conda_exe else []), 'create', '-p', env_dir, '--file',
|
||||
'environment.yml', cwd=prefix.prefix_dir,
|
||||
)
|
||||
if additional_dependencies:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue