Bulk generator: Fix field name.

This commit is contained in:
Mathias Vorreiter Pedersen
2025-05-30 13:25:12 +01:00
parent bdf411afbc
commit 3444c986ec
2 changed files with 5 additions and 5 deletions

View File

@@ -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"
}

View File

@@ -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: