Class: Dependabot::Bun::DependencyGrapher

Inherits:
DependencyGraphers::Base
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dependabot/bun/dependency_grapher.rb

Instance Method Summary collapse

Instance Method Details

#prepare!Object



23
24
25
26
27
28
29
# File 'lib/dependabot/bun/dependency_grapher.rb', line 23

def prepare!
  if lockfile.nil?
    Dependabot.logger.warn("No bun.lock found; dependency graph will be incomplete.")
    errored_fetching_subdependencies!
  end
  super
end

#relevant_dependency_fileObject



18
19
20
# File 'lib/dependabot/bun/dependency_grapher.rb', line 18

def relevant_dependency_file
  lockfile || package_json
end