Skip to content

Commit

Permalink
Fixed issue with Change reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrecsilva committed Oct 25, 2023
1 parent 36581f2 commit 9f53a04
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core_codemods/sql_parameterization.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,7 @@ def transform_module_impl(self, tree: cst.Module) -> cst.Module:
self.changed_nodes = {}
line_number = self.get_metadata(PositionProvider, call).start.line
self.file_context.codemod_changes.append(
Change(
str(line_number), SQLQueryParameterization.CHANGE_DESCRIPTION
).to_json()
Change(line_number, SQLQueryParameterization.CHANGE_DESCRIPTION)
)
result = result.visit(RemoveEmptyStringConcatenation())

Expand Down

0 comments on commit 9f53a04

Please sign in to comment.