You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by ke...@apache.org on 2021/01/30 06:36:18 UTC

[skywalking-eyes] branch fix/bat-comment created (now 1bda1b1)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a change to branch fix/bat-comment
in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git.


      at 1bda1b1  fix: @ is optional in bat comment

This branch includes the following new commits:

     new 1bda1b1  fix: @ is optional in bat comment

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking-eyes] 01/01: fix: @ is optional in bat comment

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch fix/bat-comment
in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git

commit 1bda1b1fd0e933e95be982e6e760492658f50ae5
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Sat Jan 30 14:36:04 2021 +0800

    fix: @ is optional in bat comment
---
 pkg/license/norm.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/license/norm.go b/pkg/license/norm.go
index 1e723f3..0bc056b 100644
--- a/pkg/license/norm.go
+++ b/pkg/license/norm.go
@@ -58,8 +58,8 @@ var (
 		regexp.MustCompile(`(?m)^\s*{-+`), // {-
 		regexp.MustCompile(`(?m)^\s*-}+`), // -}
 
-		regexp.MustCompile(`(?m)^\s*::`),    // ::
-		regexp.MustCompile(`(?mi)^\s*@REM`), // @REM
+		regexp.MustCompile(`(?m)^\s*::`),     // ::
+		regexp.MustCompile(`(?mi)^\s*@?REM`), // @REM
 	}
 
 	flattenSpace = regexp.MustCompile(`\s+`)