Skip to content

Commit

Permalink
Strict-type-Dependabot::Docker::Requirement::MetadataFinder.
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-meka committed Jun 4, 2024
1 parent dedb39c commit 617461e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/lib/dependabot/docker/metadata_finder.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# typed: true
# typed: strict
# frozen_string_literal: true

require "dependabot/metadata_finders"
require "dependabot/metadata_finders/base"
require "dependabot/shared_helpers"
require "sorbet-runtime"

module Dependabot
module Docker
class MetadataFinder < Dependabot::MetadataFinders::Base
extend T::Sig
private

sig { override.returns(T.nilable(Dependabot::Source)) }
def look_up_source
return if dependency.requirements.empty?

Expand Down

0 comments on commit 617461e

Please sign in to comment.