fix: Rectify typo in compdb generation code

This commit is contained in:
jonko0493 2025-05-09 13:10:55 -07:00 committed by Antonio Niño Díaz
parent a2620525fe
commit 32e8c15bd5

View File

@ -232,7 +232,7 @@ class GenericBinary():
if compdb:
print('[*] COMPDB')
with open('compile_commands.json', 'w') as cc:
subprocess.call(['ninja', 'f', ninja_file_path, '-t', 'compdb'],
subprocess.call(['ninja', '-f', ninja_file_path, '-t', 'compdb'],
encoding='utf-8', stdout=cc)
if graph: