Class: Dependabot::FileFetchers::Elm::ElmPackage
- Defined in:
- lib/dependabot/file_fetchers/elm/elm_package.rb
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
9 10 11 12 13 |
# File 'lib/dependabot/file_fetchers/elm/elm_package.rb', line 9 def self.required_files_in?(filenames) return true if filenames.include?("elm-package.json") filenames.include?("elm.json") end |
.required_files_message ⇒ Object
15 16 17 |
# File 'lib/dependabot/file_fetchers/elm/elm_package.rb', line 15 def self. "Repo must contain an elm-package.json or an elm.json" end |