From 2d2bf5821d86083bc58bbb28ca9dcbdefc5e6abf Mon Sep 17 00:00:00 2001 From: Ankit Honey Date: Fri, 26 Apr 2024 16:32:34 -0700 Subject: [PATCH] fix lint issue --- nuget/lib/dependabot/nuget/file_parser.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/nuget/lib/dependabot/nuget/file_parser.rb b/nuget/lib/dependabot/nuget/file_parser.rb index d3395d796b1..69cc68970c9 100644 --- a/nuget/lib/dependabot/nuget/file_parser.rb +++ b/nuget/lib/dependabot/nuget/file_parser.rb @@ -22,6 +22,7 @@ def parse workspace_path = project_files.first&.directory return [] unless workspace_path return [] unless repo_contents_path + # `workspace_path` is the only unique value here so we use it as the cache key cache = T.let(CacheManager.cache("file_parser.parse"), T::Hash[String, T::Array[Dependabot::Dependency]]) key = workspace_path