mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 22:25:27 +00:00
fix for error.Is false return
This commit is contained in:
parent
5b7debf349
commit
1f0aef970c
2
pkg/external/customtemplates/github.go
vendored
2
pkg/external/customtemplates/github.go
vendored
@ -191,7 +191,7 @@ func (ctr *customTemplateGitHubRepo) pullChanges(repoPath, githubToken string) e
|
|||||||
|
|
||||||
err = w.Pull(pullOpts)
|
err = w.Pull(pullOpts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errors.Errorf("%s/%s: %s", ctr.owner, ctr.reponame, err.Error())
|
return errors.Wrapf(err, "%s/%s", ctr.owner, ctr.reponame)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user