File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 22import chalk from 'chalk' ;
33import execa from 'execa' ;
44import inquirer from 'inquirer' ;
5- import { config , choices , questions } from './promptConfig' ;
5+ import getConfig from './getConfig' ;
6+ import { choices , questions } from './promptConfig' ;
67
7- const configuration = config ( ) ;
8+ const configuration = getConfig ( ) ;
89const choicesList = choices ( configuration ) ;
910const questionsList = questions ( choicesList ) ;
1011
Original file line number Diff line number Diff line change 11import chalk from 'chalk' ;
2- import getConfig from './getConfig' ;
3-
4- const config = ( ) => getConfig ( ) ;
52
63const choices = ( configuration ) => {
74 const choicesList = [ ] ;
@@ -52,4 +49,4 @@ const questions = (choicesList) => {
5249 return questionsList ;
5350} ;
5451
55- export { config , choices , questions } ;
52+ export { choices , questions } ;
You can’t perform that action at this time.
0 commit comments