mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
0babdad17b
* chore: upgrade go-waku to v0.5 * chore: add println and logs to check what's being stored in the enr, and preemptively delete the multiaddr field (#3219) * feat: add wakuv2 test (#3218)
18 lines
294 B
Bash
18 lines
294 B
Bash
#!/bin/bash -e
|
|
|
|
ERROR_COUNT=0
|
|
while read -r file
|
|
do
|
|
case "$(head -1 "${file}")" in
|
|
*"Copyright (c) "*" Uber Technologies, Inc.")
|
|
# everything's cool
|
|
;;
|
|
*)
|
|
echo "$file is missing license header."
|
|
(( ERROR_COUNT++ ))
|
|
;;
|
|
esac
|
|
done < <(git ls-files "*\.go")
|
|
|
|
exit $ERROR_COUNT
|