From 30add94a3d4378a152814d1a473f419505b8c399 Mon Sep 17 00:00:00 2001 From: Antonio Gamez Diaz Date: Wed, 16 Aug 2023 12:18:54 +0200 Subject: [PATCH] Remove "portions copyright" header normalizer Signed-off-by: Antonio Gamez Diaz --- pkg/license/norm.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/license/norm.go b/pkg/license/norm.go index 9a0be82..c01a8d9 100644 --- a/pkg/license/norm.go +++ b/pkg/license/norm.go @@ -233,11 +233,6 @@ var ( regexp.MustCompile(`(?m)\s+[*]$`), " ", }, - // Portions Copyright (C) ... - { - regexp.MustCompile(`(?m)^\s*Portions Copyright (\([cC©]\))?.+$`), - "", - }, // All rights reserved { regexp.MustCompile(`(?m)^\s*All rights reserved\.?$`),