Skip to content

Commit 354af3b

Browse files
committed
Update the query generate to the new format
1 parent 6b98895 commit 354af3b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/generate_rules/generate_package_files.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,7 @@ def write_shared_implementation(package_name, rule_id, query, language_name, ql_
182182
+ "\n"
183183
)
184184
f.write("\n");
185-
f.write("class TestFileQuery extends " + str(query["shared_implementation_short_name"]) + "SharedQuery, TestQuery {\n")
186-
f.write("}\n")
185+
f.write("class TestFileQuery extends " + str(query["shared_implementation_short_name"]) + "SharedQuery, TestQuery { }")
187186

188187
# Create an empty test file, if one doesn't already exist
189188
shared_impl_test_dir.joinpath(

0 commit comments

Comments
 (0)