We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84787e4 commit 0002af7Copy full SHA for 0002af7
cargo/lib/dependabot/cargo/file_parser.rb
@@ -375,9 +375,9 @@ def check_required_files
375
raise "No Cargo.toml!" unless get_original_file("Cargo.toml")
376
end
377
378
- sig { params(file: DependencyFile).returns(T::Hash[String, T.untyped]) }
+ sig { params(file: DependencyFile).returns(T.untyped) }
379
def parsed_file(file)
380
- @parsed_file ||= T.let({}, T.nilable(T::Hash[String, T.untyped]))
+ @parsed_file ||= T.let({}, T.untyped)
381
@parsed_file[file.name] ||= TomlRB.parse(file.content)
382
rescue TomlRB::ParseError, TomlRB::ValueOverwriteError
383
raise Dependabot::DependencyFileNotParseable, file.path
0 commit comments