Skip to content

Commit 3444c98

Browse files
committed
Bulk generator: Fix field name.
1 parent bdf411a commit 3444c98

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cpp/misc/bulk_generation_targets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"strategy": "dca",
33
"language": "cpp",
44
"targets": [
5-
{ "name": "openssl", "with_summaries": true },
6-
{ "name": "sqlite", "with_summaries": true }
5+
{ "name": "openssl", "with-summaries": true },
6+
{ "name": "sqlite", "with-summaries": true }
77
],
88
"destination": "cpp/ql/lib/ext/generated"
99
}

misc/scripts/models-as-data/bulk_generate_mad.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ class Project(TypedDict):
4747

4848

4949
def shouldGenerateSinks(project: Project) -> bool:
50-
return project.get("with_sinks", False)
50+
return project.get("with-sinks", False)
5151

5252

5353
def shouldGenerateSources(project: Project) -> bool:
54-
return project.get("with_sources", False)
54+
return project.get("with-sources", False)
5555

5656

5757
def shouldGenerateSummaries(project: Project) -> bool:
58-
return project.get("with_summaries", False)
58+
return project.get("with-summaries", False)
5959

6060

6161
def clone_project(project: Project) -> str:

0 commit comments

Comments
 (0)