Skip to content

Commit

Permalink
fixup! Hardening suggestions for codemodder-python / sqlp-formatop (#362
Browse files Browse the repository at this point in the history
)
  • Loading branch information
andrecsilva committed Mar 14, 2024
1 parent d36948b commit 3cb50d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codemodder/utils/clean_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def _handle_target(self, node):
# return node.with_changes(elements = new_elements)
# return None
case cst.Name():
if target_acesses := self.find_accesses(node):
if self.find_accesses(node):
return node
else:
return None
Expand Down

0 comments on commit 3cb50d1

Please sign in to comment.