This commit is contained in:
Kovid Goyal 2025-10-17 10:59:55 +05:30
parent cb56da890c
commit 54dfc86710
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -161,7 +161,7 @@ def install_grype() -> str:
with tarfile.open(fileobj=io.BytesIO(data), mode='r') as tf:
tf.extract('grype', path=dest, filter='fully_trusted')
exe = os.path.join(dest, 'grype')
subprocess.run([exe, 'db', 'update'])
subprocess.check_call([exe, 'db', 'update'])
return exe