github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/packagehandlers/unsupportedpackagehandler.go (about)

     1  package packagehandlers
     2  
     3  import (
     4  	"errors"
     5  	"github.com/jfrog/frogbot/utils"
     6  )
     7  
     8  type UnsupportedPackageHandler struct {
     9  }
    10  
    11  func (uph *UnsupportedPackageHandler) UpdateDependency(vulnDetails *utils.VulnerabilityDetails) error {
    12  	return errors.New("frogbot currently does not support opening a pull request that fixes vulnerabilities in " + vulnDetails.Technology.ToFormal())
    13  }