def resolve_dependency(dependency)
      @dependencies[dependency.name] ||= dependency

      dependency
        .source
        .versions(
          dependency.constraints,
          @identifier.initial_elm_version,
          !@options[:skip_update],
          @options[:only_update]
        )
        .each do |version|
          next if @graph.artifact?(dependency.name, version)
          resolve_dependencies(dependency, version)
        end

      nil
    end
def resolve_dependency(dependency)
      @dependencies[dependency.name] ||= dependency

      dependency
        .source
        .versions(
          dependency.constraints,
          @identifier.initial_elm_version,
          !@options[:skip_update],
          @options[:only_update]
        )
        .each do |version|
          next if @graph.artifact?(dependency.name, version)
          resolve_dependencies(dependency, version)
        end

      nil
    end
Resolves the dependencies of a dependency

 @param dependency [Dependency] The dependency

 @return nil