Skip to content

Commit

Permalink
Resolves #77. Error message is suppressed
Browse files Browse the repository at this point in the history
  • Loading branch information
jasursadikov committed Nov 5, 2024
1 parent 3a6d3f9 commit db23d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mud/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def _filter_with_arguments(self) -> None:

if not delete:
try:
branch = subprocess.check_output('git rev-parse --abbrev-ref HEAD', shell=True, text=True).splitlines()[0]
branch = subprocess.check_output('git rev-parse --abbrev-ref HEAD', shell=True, text=True, stderr=subprocess.DEVNULL).splitlines()[0]
except subprocess.CalledProcessError:
branch = 'NA'
if any(include_branches) and branch not in include_branches:
Expand Down

0 comments on commit db23d9a

Please sign in to comment.