class Dependabot::Elm::MetadataFinder
Private Instance Methods
look_up_source()
click to toggle source
# File lib/dependabot/elm/metadata_finder.rb, line 12 def look_up_source # For Elm 0.18 an elm-package is guaranteed to be `owner/name` # on github. For 0.19 a lot will change, including the name of # the dependency file, so I won't try to build something more # sophisticated here for now. Source.from_url("https://github.com/" + dependency.name) end