Class: Dependabot::FileUpdaters::VendorUpdater
- Inherits:
-
ArtifactUpdater
- Object
- ArtifactUpdater
- Dependabot::FileUpdaters::VendorUpdater
- Defined in:
- lib/dependabot/file_updaters/vendor_updater.rb
Instance Method Summary collapse
-
#initialize(repo_contents_path:, vendor_dir:) ⇒ VendorUpdater
constructor
This provides backwards compatability for anyone who used this class before the base ArtifactUpdater class was introduced and aligns the method’s public signatures with it’s special-case domain.
Methods inherited from ArtifactUpdater
Constructor Details
#initialize(repo_contents_path:, vendor_dir:) ⇒ VendorUpdater
This provides backwards compatability for anyone who used this class before the base ArtifactUpdater class was introduced and aligns the method’s public signatures with it’s special-case domain.
19 20 21 22 23 |
# File 'lib/dependabot/file_updaters/vendor_updater.rb', line 19 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 |