Class: Dependabot::FileUpdaters::VendorUpdater

Inherits:
ArtifactUpdater show all
Extended by:
T::Helpers, T::Sig
Defined in:
lib/dependabot/file_updaters/vendor_updater.rb

Instance Method Summary collapse

Methods inherited from ArtifactUpdater

#updated_files

Constructor Details

#initialize(repo_contents_path:, vendor_dir:) ⇒ VendorUpdater

Returns a new instance of VendorUpdater.



24
25
26
27
28
# File 'lib/dependabot/file_updaters/vendor_updater.rb', line 24

def initialize(repo_contents_path:, vendor_dir:)
  @repo_contents_path = repo_contents_path
  @vendor_dir = vendor_dir
  super(repo_contents_path: @repo_contents_path, target_directory: @vendor_dir)
end