mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-12 01:45:39 +00:00
Fix utils.check_output function
This was printing meaningless warning messages.
This commit is contained in:
parent
185ac3a7c4
commit
be82964bdc
@ -206,5 +206,7 @@ def check_output(*command):
|
||||
click.echo(fmt.command(" ".join(command)))
|
||||
try:
|
||||
return subprocess.check_output(command)
|
||||
finally:
|
||||
fmt.echo_error("Command failed: {}".format(" ".join(command)))
|
||||
except Exception as e:
|
||||
raise exceptions.TutorError(
|
||||
"Command failed: {}".format(" ".join(command))
|
||||
) from e
|
||||
|
Loading…
Reference in New Issue
Block a user