fix: Commit ID parsing (#28975)
This is/was never returning anything. - Arguments come before revs - `cd` is kinda unnecessary
This commit is contained in:
parent
19bbc24d43
commit
bd3af4391f
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ def get_app_last_commit_ref(app):
|
|||
try:
|
||||
with open(os.devnull, "wb") as null_stream:
|
||||
result = subprocess.check_output(
|
||||
f"cd ../apps/{app} && git rev-parse HEAD --short 7",
|
||||
f"git -C ../apps/{app} rev-parse --short=7 HEAD",
|
||||
shell=True,
|
||||
stdin=null_stream,
|
||||
stderr=null_stream,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue