chore(*): use prettier for formatting
This commit is contained in:
parent
6c659fe1d0
commit
ce869012ef
73 changed files with 1393 additions and 794 deletions
|
@ -25,13 +25,13 @@ export const promptForMultipleRelations = async (collection, label = collection)
|
|||
type: 'checkbox',
|
||||
name: 'selected',
|
||||
message: `✔ Select ${label} to add:`,
|
||||
choices: results.map(item => ({
|
||||
choices: results.map((item) => ({
|
||||
name: item.name || item.title || item.id,
|
||||
value: item.id
|
||||
}))
|
||||
});
|
||||
|
||||
selected.forEach(id => selectedIds.add(id));
|
||||
selected.forEach((id) => selectedIds.add(id));
|
||||
|
||||
const { again } = await inquirer.prompt({
|
||||
type: 'confirm',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue