Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions snakedeploy/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,7 @@ def process(
updated = self.update_env(
conda_env_path, pr=pr, warn_on_error=warn_on_error
)
if pin_envs and (
not update_envs
or updated
or not self.get_pin_file_path(conda_env_path).exists()
):
if pin_envs:
logger.info(f"Pinning {conda_env_path}...")
self.update_pinning(conda_env_path, pr)
except sp.CalledProcessError as e:
Expand Down
Loading