File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " fe-boilerplates-create" ,
3
- "version" : " 0.2.2 " ,
3
+ "version" : " 0.2.3 " ,
4
4
"description" : " Create your boilerplates library and publish it in no time" ,
5
5
"main" : " src/index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -15,14 +15,12 @@ async function promptForMissingOptions(options) {
15
15
}
16
16
17
17
const questions = [ ] ;
18
- if ( ! options . projectName ) {
19
- questions . push ( {
20
- type : "input" ,
21
- name : "projectName" ,
22
- message : "What's your project name:" ,
23
- default : defaultTargetDir
24
- } ) ;
25
- }
18
+ questions . push ( {
19
+ type : "input" ,
20
+ name : "projectName" ,
21
+ message : "What's your project name:" ,
22
+ default : defaultTargetDir
23
+ } ) ;
26
24
27
25
if ( ! options . template ) {
28
26
questions . push ( {
@@ -79,9 +77,9 @@ function parseArgumentsIntoOptions(rawArgs) {
79
77
skipPrompts : args [ "--yes" ] || false ,
80
78
git : args [ "--git" ] || false ,
81
79
template : args . _ [ 0 ] ,
82
- projectName : argv . _ [ 0 ] ,
83
80
runInstall : args [ "--install" ] || false ,
84
81
packageManager : "" ,
82
+ projectName : ""
85
83
} ;
86
84
}
87
85
You can’t perform that action at this time.
0 commit comments