From 5aa57fda25f31624f733e85aab47191a4afd9e49 Mon Sep 17 00:00:00 2001 From: Alfred Mazimbe Date: Thu, 23 Jan 2025 12:48:47 +0000 Subject: [PATCH] Fix sorbet type in dependabot/python/file_parser.rb --- python/lib/dependabot/python/file_parser.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/lib/dependabot/python/file_parser.rb b/python/lib/dependabot/python/file_parser.rb index 9ab46bb3fa..51ce0980ad 100644 --- a/python/lib/dependabot/python/file_parser.rb +++ b/python/lib/dependabot/python/file_parser.rb @@ -315,8 +315,9 @@ def blocking_marker?(dep) else return true if dep["markers"].include?("<") return false if dep["markers"].include?(">") + return false if dep["requirement"].nil? - dep["requirement"]&.include?("<") + dep["requirement"].include?("<") end end