From 16e295ebcb6ae6ed56c8c2d0b808de40c619443b Mon Sep 17 00:00:00 2001 From: Leo Antoli <430982+lantoli@users.noreply.github.com> Date: Tue, 9 Apr 2024 16:37:31 +0200 Subject: [PATCH] comment --- tools/check-changelog/check-changelog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check-changelog/check-changelog.go b/tools/check-changelog/check-changelog.go index c7f90a2d2e..e3a5a317f6 100644 --- a/tools/check-changelog/check-changelog.go +++ b/tools/check-changelog/check-changelog.go @@ -31,7 +31,7 @@ func main() { filePath := fmt.Sprintf(".changelog/%s.txt", number) content, errFile := os.ReadFile(filePath) - if errFile == nil { // if file exists then it's always validated, never skipped. + if errFile == nil { // Always validate changelog file if present, skip logic is not considered in this case entry := changelog.Entry{ Body: string(content), }