We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c94350 commit 862fa88Copy full SHA for 862fa88
plop-templates/utils.js
@@ -1,6 +1,6 @@
1
exports.notEmpty = name => {
2
return v => {
3
- if (!v || v.trim === '') {
+ if (!v || v.trim() === '') {
4
return `${name} is required`
5
} else {
6
return true
0 commit comments