Skip to content

Commit

Permalink
backport of commit 607991e (#29320)
Browse files Browse the repository at this point in the history
Co-authored-by: Thy Ton <[email protected]>
  • Loading branch information
1 parent 0463415 commit 65ddaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/copywrite-exceptions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# then runs the copywrite bot to utilize local subdir config
# to inject correct headers.

find . -type f -name '*.go' -not -name '*_ent.go' | while read line; do
find . -type f -name '*.go' -not -name '*_ent.go' -not -name '*_ent_test.go' | while read line; do
if grep "SPDX-License-Identifier: BUSL-1.1" $line; then
sed -i '/SPDX-License-Identifier: BUSL-1.1/d' $line
sed -i '/Copyright (c) HashiCorp, Inc./d' $line
Expand Down

0 comments on commit 65ddaa1

Please sign in to comment.