init
This commit is contained in:
2
plop-templates/utils.js
Normal file
2
plop-templates/utils.js
Normal file
@@ -0,0 +1,2 @@
|
||||
exports.notEmpty = name => v =>
|
||||
!v || v.trim() === '' ? `${name} is required` : true
|
||||
Reference in New Issue
Block a user