Skip to content

Commit 16ba7a2

Browse files
committed
fix
1 parent b2ecdaf commit 16ba7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/commands/add/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export async function runAddCommand(
261261
if (existingOption !== undefined) {
262262
if (typeof existingOption === 'boolean') {
263263
// need to transform the boolean back to `yes` or `no`
264-
existingOption = existingOption ? 'yes' : `no`;
264+
existingOption = existingOption ? 'yes' : 'no';
265265
}
266266
throw new Error(
267267
`Conflicting '${addonId}' option: '${option}' conflicts with '${questionId}:${existingOption}'`

0 commit comments

Comments
 (0)