forked from mirrors/gecko-dev
Backed out changeset 05cb55554fc0 (bug 1882209) Backed out changeset 67b0625e2cfa (bug 1890935)
17 lines
281 B
Bash
Executable file
17 lines
281 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
set -x
|
|
|
|
export success=true
|
|
|
|
find . -iname '*.rs' | while read -r file; do
|
|
result=$(grep '.\{79\}' "${file}" | grep --invert 'http')
|
|
if [ "${result}" = "" ]
|
|
then
|
|
:
|
|
else
|
|
echo "file \"${file}\": $result"
|
|
exit 1
|
|
fi
|
|
done
|
|
|