From 81737dc211c5fb580de403bf54c6d348c8a2d9b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 23 Aug 2023 17:49:19 +0200 Subject: [PATCH] Fix typo (#7883) --- pub/lib/dependabot/pub/update_checker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pub/lib/dependabot/pub/update_checker.rb b/pub/lib/dependabot/pub/update_checker.rb index 71494ccd15..ea800d1810 100644 --- a/pub/lib/dependabot/pub/update_checker.rb +++ b/pub/lib/dependabot/pub/update_checker.rb @@ -69,7 +69,7 @@ def updated_requirements # This security update would require unlocking other packages, which is not currently supported. # Because of that, return original requirements, so that no requirements are actually updated and # the error bubbles up as security_update_not_possible to the user. - return depedency.requirements if breaking_changes.size > 1 + return dependency.requirements if breaking_changes.size > 1 updates.find { |u| u["name"] == dependency.name } else