Class: Dependabot::FileFetchers::JavaScript::NpmAndYarn
- Defined in:
- lib/dependabot/file_fetchers/java_script/npm_and_yarn.rb,
lib/dependabot/file_fetchers/java_script/npm_and_yarn/path_dependency_builder.rb
Defined Under Namespace
Classes: PathDependencyBuilder
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#commit, #directory, #files, #initialize, #repo, #target_branch
Constructor Details
This class inherits a constructor from Dependabot::FileFetchers::Base
Class Method Details
.required_files_in?(filenames) ⇒ Boolean
13 14 15 |
# File 'lib/dependabot/file_fetchers/java_script/npm_and_yarn.rb', line 13 def self.required_files_in?(filenames) filenames.include?("package.json") end |
.required_files_message ⇒ Object
17 18 19 |
# File 'lib/dependabot/file_fetchers/java_script/npm_and_yarn.rb', line 17 def self. "Repo must contain a package.json." end |