We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e08c03c commit 35dd456Copy full SHA for 35dd456
lib.js
@@ -42,6 +42,10 @@ module.exports = ({
42
license = DEFAULT_LICENSE,
43
generateExample = DEFAULT_GENERATE_EXAMPLE,
44
}) => {
45
+ if (typeof name !== 'string') {
46
+ throw new Error('Please write your library\'s name');
47
+ }
48
+
49
if (!overridePrefix) {
50
if (hasPrefix(name)) {
51
throw new Error('Please don\'t include the prefix in the name');
0 commit comments