Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Evsyukov Denis <denis.evsyukov@flant.com>
  • Loading branch information
juev committed Sep 17, 2024
1 parent 41b2497 commit 69bc9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/linters/copyright/library.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"regexp"
)

var EELicenseRe = regexp.MustCompile(`(?s)Copyright 202[1-9] Flant JSC.*Licensed under the Deckhouse Platform Enterprise Edition \(EE\) license.*See https://github\.com/deckhouse/deckhouse/blob/main/ee/LICENSE`)
// var EELicenseRe = regexp.MustCompile(`(?s)Copyright 202[1-9] Flant JSC.*Licensed under the Deckhouse Platform Enterprise Edition \(EE\) license.*See https://github\.com/deckhouse/deckhouse/blob/main/ee/LICENSE`)

var CELicenseRe = regexp.MustCompile(`(?s)[/#{!-]*(\s)*Copyright 202[1-9] Flant JSC[-!}\n#/]*

Check failure on line 12 in pkg/linters/copyright/library.go

View workflow job for this annotation

GitHub Actions / golangci-lint

regexpPattern: '.org' should probably be '\.org' (gocritic)
[/#{!-]*(\s)*Licensed under the Apache License, Version 2.0 \(the "License"\);[-!}\n]*
Expand Down

0 comments on commit 69bc9ec

Please sign in to comment.