Skip to content

Commit 3f25265

Browse files
Merge branch 'fix/update-dependencies' into alpha
2 parents 4bd0be5 + cfbfa97 commit 3f25265

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

src/configuration/getConfigFromWizard.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -75,29 +75,29 @@ export async function getConfigFromWizard({
7575

7676
if (cdkAnswers.context && cdkAnswers.context.trim() !== '') {
7777
answers.context = [cdkAnswers.context.trim()];
78-
}
79-
80-
// more context
81-
while (true) {
82-
const moreContextAnswers = await inquirer.prompt([
83-
{
84-
type: 'input',
85-
name: 'context',
86-
message: 'Would you like to enter more CDK context?',
87-
default: oldContext.length > 0 ? oldContext.shift() : undefined,
88-
},
89-
]);
9078

91-
if (
92-
moreContextAnswers.context &&
93-
moreContextAnswers.context.trim() !== ''
94-
) {
95-
answers.context = [
96-
...(answers.context ?? []),
97-
moreContextAnswers.context.trim(),
98-
];
99-
} else {
100-
break;
79+
// more context
80+
while (true) {
81+
const moreContextAnswers = await inquirer.prompt([
82+
{
83+
type: 'input',
84+
name: 'context',
85+
message: 'Would you like to enter more CDK context?',
86+
default: oldContext.length > 0 ? oldContext.shift() : undefined,
87+
},
88+
]);
89+
90+
if (
91+
moreContextAnswers.context &&
92+
moreContextAnswers.context.trim() !== ''
93+
) {
94+
answers.context = [
95+
...(answers.context ?? []),
96+
moreContextAnswers.context.trim(),
97+
];
98+
} else {
99+
break;
100+
}
101101
}
102102
}
103103
}

0 commit comments

Comments
 (0)