Class: Dependabot::GoModules::FileParser
- Inherits:
-
FileParsers::Base
- Object
- FileParsers::Base
- Dependabot::GoModules::FileParser
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/go_modules/file_parser.rb
Instance Method Summary collapse
Instance Method Details
#parse ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/dependabot/go_modules/file_parser.rb', line 22 def parse set_gotoolchain_env dependency_set = Dependabot::FileParsers::Base::DependencySet.new required_packages.each do |dep| dependency_set << dependency_from_details(dep) unless skip_dependency?(dep) end dependency_set.dependencies end |