Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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-
returncmd
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)

AltStyle によって変換されたページ (->オリジナル) /