Skip to content

Commit

Permalink
Merge pull request #9622 from dependabot/raj/#9555
Browse files Browse the repository at this point in the history
#9555:sorbet error fix
  • Loading branch information
raj-meka committed Apr 27, 2024
2 parents e160e8d + 2d2bf58 commit 7b25e93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nuget/lib/dependabot/nuget/file_parser.rb
Expand Up @@ -21,6 +21,7 @@ class FileParser < Dependabot::FileParsers::Base
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]])
Expand Down

0 comments on commit 7b25e93

Please sign in to comment.