Update revalidator.js

i think the blank string should not pass the require validation.