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 1347454 commit 2169138Copy full SHA for 2169138
index.js
@@ -9,15 +9,17 @@ import customize from './customize.js'
9
const args = process.argv
10
11
if (args.length < 3) {
12
- return console.error('Please provide a name for your plugin.')
+ console.error('Please provide a name for your plugin.')
13
+ process.exit()
14
}
15
16
const name = names(args[2])
17
18
if (existsSync(name.regular)) {
- return console.warn(
19
+ console.warn(
20
`A folder or file named ${name.regular} already exists in ${process.cwd()}.`
21
)
22
23
24
25
0 commit comments