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 006a151  Remove copyright header normalizer from license header 
command (#142)
006a151 is described below

commit 006a15186f1961abd6b37f886a282df0e4a8e4a0
Author: Xiaoya Wei <[email protected]>
AuthorDate: Thu Oct 27 18:13:21 2022 +0800

    Remove copyright header normalizer from license header command (#142)
---
 pkg/license/norm.go | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/pkg/license/norm.go b/pkg/license/norm.go
index 3dc854c..9a0be82 100644
--- a/pkg/license/norm.go
+++ b/pkg/license/norm.go
@@ -233,12 +233,6 @@ var (
                        regexp.MustCompile(`(?m)\s+[*]$`),
                        " ",
                },
-               // Copyright (c) .....
-               // © Copyright .....
-               {
-                       regexp.MustCompile(`(?m)^\s*([cC©])?\s*Copyright 
(\([cC©]\))?.+$`),
-                       "",
-               },
                // Portions Copyright (C) ...
                {
                        regexp.MustCompile(`(?m)^\s*Portions Copyright 
(\([cC©]\))?.+$`),

Reply via email to