diff --git a/src/core_codemods/sql_parameterization.py b/src/core_codemods/sql_parameterization.py index ec66f6b4..c6ae7c62 100644 --- a/src/core_codemods/sql_parameterization.py +++ b/src/core_codemods/sql_parameterization.py @@ -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())