mirror of https://github.com/apache/druid.git
Git hooks should fail on errors; pass args to git hooks (#12322)
* Git hooks should fail on errors * don't set shell to pass args
This commit is contained in:
parent
6346b9561d
commit
d89d4ff588
|
@ -31,4 +31,4 @@ for hook in os.listdir(hooks_dir):
|
|||
if not hook.startswith("_"):
|
||||
command = [os.path.join(hooks_dir, hook)] + args
|
||||
print("Running {}".format(command))
|
||||
subprocess.run(command, shell=True)
|
||||
subprocess.run(command, check=True)
|
||||
|
|
Loading…
Reference in New Issue