Skip to content

Commit 960599c

Browse files
committed
Update index.ts
1 parent c1fd81a commit 960599c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ng-generate/table-prompter/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function getTtlPaths(promptSubj: Subject<any>, allAnswers: Schema, subscriber: S
145145
default: false,
146146
};
147147

148-
const nameOfConfigFile = {
148+
const configFileName = {
149149
type: 'input',
150150
name: 'nameOfConfigFile',
151151
message: 'Please enter a name for your config file. It will be automatically appended to (<config-file-name>-wizard.config.json):',
@@ -191,13 +191,13 @@ function getTtlPaths(promptSubj: Subject<any>, allAnswers: Schema, subscriber: S
191191
switch (true) {
192192
case singleAnswer.name === createOrImport.name: {
193193
if (singleAnswer.answer) {
194-
promptSubj.next(nameOfConfigFile);
194+
promptSubj.next(configFileName);
195195
} else {
196196
promptSubj.next(importConfigFile);
197197
}
198198
break;
199199
}
200-
case singleAnswer.name === nameOfConfigFile.name: {
200+
case singleAnswer.name === configFileName.name: {
201201
if (singleAnswer.answer !== WIZARD_CONFIG_FILE) {
202202
WIZARD_CONFIG_FILE = `${singleAnswer.answer}-${WIZARD_CONFIG_FILE}`;
203203
}

0 commit comments

Comments
 (0)