Skip to content

Commit

Permalink
Fixes #26
Browse files Browse the repository at this point in the history
  • Loading branch information
OldGrumpyViking committed Feb 1, 2024
1 parent 51a4578 commit 90b8a68
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.1] - 01/02/2024

### Fixed
- Only use --no-capture-output for conda commands.

## [0.5.0] - 15/01/2024

### Added
Expand Down
2 changes: 1 addition & 1 deletion hatch_conda/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.0"
__version__ = "0.5.1"
4 changes: 3 additions & 1 deletion hatch_conda/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ def exists(self):
return False

def construct_conda_run_command(self, command):
head = [self.config_command, "run", "--no-capture-output"]
head = [self.config_command, "run"]
if self.config_command in ["conda" , "mamba"]:
head.append("--no-capture-output")

if self.config_prefix is not None:
head += ["--prefix", self.config_prefix]
Expand Down

0 comments on commit 90b8a68

Please sign in to comment.