mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Bulk generator: Fix field name.
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
"strategy": "dca",
|
||||
"language": "cpp",
|
||||
"targets": [
|
||||
{ "name": "openssl", "with_summaries": true },
|
||||
{ "name": "sqlite", "with_summaries": true }
|
||||
{ "name": "openssl", "with-summaries": true },
|
||||
{ "name": "sqlite", "with-summaries": true }
|
||||
],
|
||||
"destination": "cpp/ql/lib/ext/generated"
|
||||
}
|
||||
@@ -47,15 +47,15 @@ class Project(TypedDict):
|
||||
|
||||
|
||||
def shouldGenerateSinks(project: Project) -> bool:
|
||||
return project.get("with_sinks", False)
|
||||
return project.get("with-sinks", False)
|
||||
|
||||
|
||||
def shouldGenerateSources(project: Project) -> bool:
|
||||
return project.get("with_sources", False)
|
||||
return project.get("with-sources", False)
|
||||
|
||||
|
||||
def shouldGenerateSummaries(project: Project) -> bool:
|
||||
return project.get("with_summaries", False)
|
||||
return project.get("with-summaries", False)
|
||||
|
||||
|
||||
def clone_project(project: Project) -> str:
|
||||
|
||||
Reference in New Issue
Block a user