Only validate EIP files with the correct filenames

This commit is contained in:
Nick Johnson 2018-06-07 15:02:39 +01:00 committed by GitHub
parent 3b05be29e0
commit 3406f36c7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,6 @@ elif [[ $TASK = 'eip-validator' ]]; then
exit 1
fi
FILES=$(ls EIPS/*.md)
FILES="$(ls EIPS/*.md | egrep "^eip-[0-9]+.md$")"
bundle exec eip_validator $FILES
fi