mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-12-23 02:41:55 +00:00
Make subprocess calls fail if something goes wrong
This commit is contained in:
parent
d306d0e484
commit
fb2beb470f
@ -84,6 +84,7 @@ class SnapshotProvider:
|
||||
return stdout_bytes.decode().rstrip('\n')
|
||||
|
||||
def _run(self, *args, **kwargs):
|
||||
kwargs['check'] = True
|
||||
if 'env' not in kwargs:
|
||||
kwargs['env'] = self.gitenv
|
||||
return run(*args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user