removed a console log :D

This commit is contained in:
Carlos Jimenez 2018-01-11 13:24:40 +01:00
parent a93bb13917
commit f6314d0c2b
1 changed files with 0 additions and 1 deletions

View File

@ -2,7 +2,6 @@ import {validator} from 'vendor';
export const validators = {
presence: value => {
console.log(value, validator.isEmpty(value.toString()));
if (validator.isEmpty(value.toString()))
throw new Error(`Value can't be empty`);
},