Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Apr 17, 2018
1 parent 2643933 commit f3d7a38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/divi-scripts/scripts/ask.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ function pluginPrefixQuestion(appName) {
message:
'Prefix? (Unique identifier for variables, functions, and classes)',
default: suggestedPrefix,
validate: value => /^[a-zA-Z][a-zA-Z0-9]{2,}$/.test(value),
};
}

Expand Down

0 comments on commit f3d7a38

Please sign in to comment.