Skip to content

Commit 3ccb48f

Browse files
committed
Fixed False Positive detection for amazon-sl license by adding rules for mit license and updating rules for amazon-sl license. issue #4022
Signed-off-by: Aayush Kumar <aayush214.kumar@gmail.com>
1 parent e4abe78 commit 3ccb48f

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

src/licensedcode/data/rules/amazon-sl_8.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ relevance: 100
66

77
License
88

9-
This library is licensed under the Amazon Software License.
9+
This library is licensed under the {{Amazon Software License}}.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: mit
3+
is_license_notice: yes
4+
relevance: 100
5+
---
6+
7+
This library is licensed under The {{MIT License (MIT)}}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
license_expression: mit
3+
is_license_notice: yes
4+
relevance: 100
5+
---
6+
7+
This library is {{licensed under The MIT}}

0 commit comments

Comments
 (0)