Skip to content

Commit d06eb53

Browse files
committed
Update rule to avoid false license detection
Reference: #2900 Reported-by: @lalitbittu11 Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent d2686b0 commit d06eb53

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
* Use of this source code is governed by a BSD-style license
22
* that can be found in the LICENSE file in the root of the source
3-
* tree. An additional intellectual property rights grant can be found
3+
* tree. An {{additional intellectual property rights grant}} can be found
44
* in the file PATENTS.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
license_expression: bsd-new AND google-patent-license-webm
22
is_license_notice: yes
3-
minimum_coverage: 50
3+
minimum_coverage: 70
44
referenced_filenames:
55
- LICENSE
66
- PATENTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
// Package oauth2 provides support for making
6+
// OAuth2 authorized and authenticated HTTP requests.
7+
// It can additionally grant authorization with Bearer JWT.
8+
package oauth2 // import "golang.org/x/oauth2"
9+
10+
import (
11+
"bytes"
12+
"errors"
13+
"net/http"
14+
"net/url"
15+
"strings"
16+
"sync"
17+
18+
"golang.org/x/net/context"
19+
"golang.org/x/oauth2/internal"
20+
)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
license_expressions:
2+
- bsd-new

0 commit comments

Comments
 (0)