From 3a91e7fc5c6d0af7c73327485f307123c3352841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Zamanillo?= Date: Mon, 31 Aug 2020 22:31:19 +0200 Subject: [PATCH] Better nuclei-templates current and outdated messages --- internal/runner/update.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/runner/update.go b/internal/runner/update.go index 10a8effed0..fc20d568b6 100644 --- a/internal/runner/update.go +++ b/internal/runner/update.go @@ -118,13 +118,13 @@ func (r *Runner) updateTemplates() error { } if version.EQ(oldVersion) { - gologger.Labelf("Latest version of nuclei-templates installed: v%s\n", oldVersion.String()) + gologger.Infof("Your nuclei-templates are up to date: v%s\n", oldVersion.String()) return r.writeConfiguration(r.templatesConfig) } if version.GT(oldVersion) { if !r.options.UpdateTemplates { - gologger.Labelf("You're using outdated nuclei-templates. Latest v%s\n", version.String()) + gologger.Labelf("Your current nuclei-templates v%s are outdated. Latest is v%s\n", oldVersion, version.String()) return r.writeConfiguration(r.templatesConfig) }