Skip to content

Commit 1736757

Browse files
committed
Fix copyright checker
The model copyright notice has an extra newline that we don't want to compare against.
1 parent 2c19742 commit 1736757

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/code-formatting.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ jobs:
131131
// or submit itself to any jurisdiction.
132132
run: |
133133
# Run copyright notice check
134+
COPYRIGHT=$(printf '%s' "$COPYRIGHT") # strip trailing newline
134135
copyright_lines=$(echo "$COPYRIGHT" | wc -l)
135136
base_commit=$(git merge-base HEAD ${{ github.event.pull_request.base.sha }})
136137
have_err=

0 commit comments

Comments
 (0)