We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 589f053 commit 92ae2e0Copy full SHA for 92ae2e0
cli/extractor/extractor.py
@@ -31,11 +31,11 @@ def __init__(self):
31
32
33
def cfamily_extractor_cmd(source_root, database, options):
34
- cmd = list()
35
- cmd += [str(Extractor.cfamily_extractor)]
36
- cmd += ["--compile-commands=", str(source_root)]
37
- cmd += ["--output-db-path=", str(database)]
38
- return cmd
+ return [
+ str(Extractor.cfamily_extractor),
+ f"--compile-commands={source_root}",
+ f"--output-db-path={database}"
+ ]
39
40
41
def go_extractor_cmd(source_root, database, options):
0 commit comments