Skip to content

Commit

Permalink
Add require 'sorbet-runtime' where missing (dependabot#9379)
Browse files Browse the repository at this point in the history
Co-authored-by: AbdulFattaah Popoola <abdulapopoola@github.com>
  • Loading branch information
JamieMagee and abdulapopoola authored Mar 27, 2024
1 parent 32aa57a commit 3a27e09
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/lib/dependabot/clients/bitbucket_with_retries.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# typed: strict
# frozen_string_literal: true

require "sorbet-runtime"

require_relative "bitbucket"

module Dependabot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

require "nokogiri"
require "pathname"
require "sorbet-runtime"

require "dependabot/nuget/file_fetcher"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# frozen_string_literal: true

require "pathname"
require "sorbet-runtime"

require "dependabot/nuget/file_fetcher"

module Dependabot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# frozen_string_literal: true

require "json"
require "sorbet-runtime"

require "dependabot/dependency"
require "dependabot/nuget/file_parser"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# frozen_string_literal: true

require "json"
require "sorbet-runtime"

require "dependabot/dependency"
require "dependabot/nuget/file_parser"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# frozen_string_literal: true

require "nokogiri"
require "sorbet-runtime"

require "dependabot/dependency"
require "dependabot/nuget/file_parser"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# frozen_string_literal: true

require "nokogiri"
require "sorbet-runtime"

require "dependabot/dependency"
require "dependabot/nuget/file_parser"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# typed: strict
# frozen_string_literal: true

require "sorbet-runtime"

require "dependabot/nuget/file_fetcher/import_paths_finder"
require "dependabot/nuget/file_parser"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# frozen_string_literal: true

require "nokogiri"
require "sorbet-runtime"

require "dependabot/dependency_file"
require "dependabot/nuget/file_updater"
Expand Down
2 changes: 2 additions & 0 deletions terraform/lib/dependabot/terraform/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# typed: strong
# frozen_string_literal: true

require "sorbet-runtime"

require "dependabot/version"

# Terraform pre-release versions use 1.0.1-rc1 syntax, which Gem::Version
Expand Down
2 changes: 2 additions & 0 deletions updater/lib/dependabot/dependency_group_engine.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# typed: strict
# frozen_string_literal: true

require "sorbet-runtime"

require "dependabot/dependency_group"

# This class implements our strategy for keeping track of and matching dependency
Expand Down
2 changes: 2 additions & 0 deletions updater/lib/dependabot/dependency_snapshot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# frozen_string_literal: true

require "base64"
require "sorbet-runtime"

require "dependabot/file_parsers"

# This class describes the dependencies obtained from a project at a specific commit SHA
Expand Down
1 change: 1 addition & 0 deletions updater/lib/dependabot/job.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# typed: strict
# frozen_string_literal: true

require "sorbet-runtime"
require "wildcard_matcher"

require "dependabot/config/ignore_condition"
Expand Down
1 change: 1 addition & 0 deletions updater/lib/dependabot/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# frozen_string_literal: true

require "sentry-ruby"
require "sorbet-runtime"

require "dependabot/environment"
require "dependabot/logger"
Expand Down

0 comments on commit 3a27e09

Please sign in to comment.