Skip to content

Commit

Permalink
Dependabot::FileParsers::Base permits an options arg
Browse files Browse the repository at this point in the history
  • Loading branch information
brrygrdn committed Mar 15, 2021
1 parent 311f594 commit 6b46f4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions common/lib/dependabot/file_parsers/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
module Dependabot
module FileParsers
class Base
attr_reader :dependency_files, :repo_contents_path, :credentials, :source
attr_reader :dependency_files, :repo_contents_path, :credentials, :source, :options

def initialize(dependency_files:, repo_contents_path: nil, source:,
credentials: [], reject_external_code: false)
credentials: [], reject_external_code: false, options: {})
@dependency_files = dependency_files
@repo_contents_path = repo_contents_path
@credentials = credentials
@source = source
@reject_external_code = reject_external_code
@options = options

check_required_files
end
Expand Down

0 comments on commit 6b46f4e

Please sign in to comment.