Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1a4fd7b

Browse files
author
Benjamin Muskalla
committed
Allow camelcase names
1 parent 2b2ac82 commit 1a4fd7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/ql/src/utils/model-generator/GenerateFlowModel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def asCsvModel(superclass, kind, rows):
104104
"""
105105
if rows.strip() == "":
106106
return ""
107-
return classTemplate.format(shortname.capitalize(), kind.capitalize(), superclass, rows)
107+
return classTemplate.format(shortname[0].upper() + shortname[1:], kind.capitalize(), superclass, rows)
108108

109109

110110
summaryRows = runQuery("summary models", "CaptureSummaryModels.ql")

0 commit comments

Comments
 (0)