Skip to content

Commit

Permalink
Adjust check-legal script
Browse files Browse the repository at this point in the history
  • Loading branch information
robsdedude committed Nov 30, 2023
1 parent b4c006c commit 0e500ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/check-legal
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ function check_license {


function check_copyright {
#YEAR=$(date +%Y)
YEAR=2021 # when this project was abandoned
find "${SRC}" -type d \( -path "${SRC}/vendor" \) -prune -o -name '*.py' -print0 | xargs -0 grep -L -e "Copyright.* 20[0-9][0-9]-${YEAR}"
find "${SRC}" -type d \( -path "${SRC}/vendor" \) -prune -o -name '*.py' -print0 | xargs -0 grep -L -e 'Copyright (c) "Neo4j"'
}


Expand Down

0 comments on commit 0e500ce

Please sign in to comment.