Skip to content

TypeError: T.cast: Expected type Dependabot::Version, got type String with value "f4321f78fe567fd29dd0a0fb5cb17af68efd36bb" #14095

@sentry

Description

@sentry
TypeError: T.cast: Expected type Dependabot::Version, got type String with value "f4321f78fe567fd29dd0a0fb5cb17af68efd36bb"
Caller: /home/dependabot/bundler/lib/dependabot/bundler/update_checker.rb:368
  dependabot-updater/vendor/ruby/3.4.0/gems/sorbet-runtime-0.6.12544/lib/types/private/casts.rb:18:in `T::Private::Casts.cast'
  dependabot-updater/vendor/ruby/3.4.0/gems/sorbet-runtime-0.6.12544/lib/types/_types.rb:137:in `T.cast'
  bundler/lib/dependabot/bundler/update_checker.rb:368:in `Dependabot::Bundler::UpdateChecker#force_updater'
  dependabot-updater/vendor/ruby/3.4.0/gems/sorbet-runtime-0.6.12544/lib/types/private/methods/call_validation_2_7.rb:59:in `UnboundMethod#bind_call'
  dependabot-updater/vendor/ruby/3.4.0/gems/sorbet-runtime-0.6.12544/lib/types/private/methods/call_validation_2_7.rb:59:in `block in Dependabot::Bundler::UpdateChecker#create_validator_method_fast0'
...
(58 additional frame(s) were not displayed)

Metadata

Metadata

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions