mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 16:05:26 +00:00
Update pkg/external/customtemplates/github.go
Co-authored-by: Dwi Siswanto <25837540+dwisiswant0@users.noreply.github.com>
This commit is contained in:
parent
5be258f948
commit
5b7debf349
2
pkg/external/customtemplates/github.go
vendored
2
pkg/external/customtemplates/github.go
vendored
@ -53,7 +53,7 @@ func (customTemplate *customTemplateGitHubRepo) Update(ctx context.Context) {
|
||||
}
|
||||
err := customTemplate.pullChanges(clonePath, customTemplate.githubToken)
|
||||
if err != nil {
|
||||
if strings.Contains(err.Error(), "already up-to-date") {
|
||||
if errors.Is(err, git.NoErrAlreadyUpToDate) {
|
||||
gologger.Info().Msgf("%s", err)
|
||||
} else {
|
||||
gologger.Error().Msgf("%s", err)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user