File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import updateNotifier from 'update-notifier';
99
1010import pkg from '../package.json' ;
1111import getConfig from './getConfig' ;
12- import { choices , questions } from './promptConfig ' ;
12+ import questions , { choices } from './questions ' ;
1313
1414const configuration = getConfig ( ) ;
1515const choicesList = choices ( configuration ) ;
Original file line number Diff line number Diff line change @@ -55,4 +55,5 @@ const questions = (choicesList) => {
5555 return questionsList ;
5656} ;
5757
58- export { choices , questions } ;
58+ export default questions ;
59+ export { choices } ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import fs from 'fs-extra';
55import json from 'json-extra' ;
66
77import getConfig from '../lib/getConfig' ;
8- import { choices , questions } from '../lib/promptConfig ' ;
8+ import questions , { choices } from '../lib/questions ' ;
99import { withEmoji , withoutEmoji } from './fixtures/questions' ;
1010
1111const cwd = process . cwd ( ) ;
You can’t perform that action at this time.
0 commit comments