From 9c125fa8858e9585fcf31310c4386ba2caed3332 Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Sat, 6 Jul 2024 01:27:45 +0200 Subject: [PATCH] fix: keep should not fail job --- source/html/sync.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/html/sync.go b/source/html/sync.go index 2e64cc7..e7f1ee7 100644 --- a/source/html/sync.go +++ b/source/html/sync.go @@ -252,7 +252,8 @@ func SyncHtml(p string) error { kNode := q.MatchAll(destinationFiles[d]) if kNode == nil { - return fmt.Errorf("keep node not found: %s", n) + fmt.Errorf("keep node not found: %s", n) + continue } for _, k := range kNode { -- GitLab