Skip to content

Commit 92ae2e0

Browse files
committed
fix cfamily extract error
1 parent 589f053 commit 92ae2e0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cli/extractor/extractor.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ def __init__(self):
3131

3232

3333
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
34+
return [
35+
str(Extractor.cfamily_extractor),
36+
f"--compile-commands={source_root}",
37+
f"--output-db-path={database}"
38+
]
3939

4040

4141
def go_extractor_cmd(source_root, database, options):

0 commit comments

Comments
 (0)