Class: Dependabot::Bun::DependencyGrapher
- Inherits:
-
DependencyGraphers::Base
- Object
- DependencyGraphers::Base
- Dependabot::Bun::DependencyGrapher
- 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_file ⇒ Object
18 19 20 |
# File 'lib/dependabot/bun/dependency_grapher.rb', line 18 def relevant_dependency_file lockfile || package_json end |