This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git
The following commit(s) were added to refs/heads/main by this push:
new 6b25292 Remove "portions copyright" header normalizer (#166)
6b25292 is described below
commit 6b2529214f6b1ccee3ec92bb0adfeabf6f66f538
Author: Antonio Gámez, PhD <[email protected]>
AuthorDate: Wed Aug 16 12:34:09 2023 +0200
Remove "portions copyright" header normalizer (#166)
Signed-off-by: Antonio Gamez Diaz <[email protected]>
---
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\.?$`),