Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependabot::Sorbet::Runtime::InformationalError: Return value: Expected type String, got type NilClass #9217

Closed
sentry-io bot opened this issue Mar 5, 2024 · 0 comments · Fixed by #9220
Assignees
Labels
sorbet 🍦 Relates to Sorbet types T: bug 🐞 Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 5, 2024

Dependabot::Sorbet::Runtime::InformationalError: Return value: Expected type String, got type NilClass
Caller: /home/dependabot/common/lib/dependabot/pull_request_creator/message_builder/issue_linker.rb:49
Definition: /home/dependabot/common/lib/dependabot/pull_request_creator/message_builder/issue_linker.rb:25
  common/lib/dependabot/pull_request_creator/message_builder/issue_linker.rb:49:in `block (2 levels) in link_issues'
    source = repo ? "https://github.com/#{repo}" : source_url
  common/lib/dependabot/pull_request_creator/message_builder/issue_linker.rb:37:in `gsub'
    updated_text.gsub(regex) do |issue_link|
  common/lib/dependabot/pull_request_creator/message_builder/issue_linker.rb:37:in `block in link_issues'
    updated_text.gsub(regex) do |issue_link|
  common/lib/dependabot/pull_request_creator/message_builder/issue_linker.rb:36:in `each'
    ISSUE_LINK_REGEXS.reduce(text) do |updated_text, regex|
  common/lib/dependabot/pull_request_creator/message_builder/issue_linker.rb:36:in `reduce'
    ISSUE_LINK_REGEXS.reduce(text) do |updated_text, regex|
...
(63 additional frame(s) were not displayed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sorbet 🍦 Relates to Sorbet types T: bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant