chore(*): use prettier for formatting
This commit is contained in:
parent
6c659fe1d0
commit
029caaaa9e
73 changed files with 1390 additions and 794 deletions
|
@ -15,12 +15,14 @@ export const runRootScript = async (scriptArg) => {
|
|||
let script = scriptArg;
|
||||
|
||||
if (!script) {
|
||||
const { selected } = await inquirer.prompt([{
|
||||
type: 'list',
|
||||
name: 'selected',
|
||||
message: 'Select a script to run:',
|
||||
choices: Object.keys(scripts)
|
||||
}]);
|
||||
const { selected } = await inquirer.prompt([
|
||||
{
|
||||
type: 'list',
|
||||
name: 'selected',
|
||||
message: 'Select a script to run:',
|
||||
choices: Object.keys(scripts)
|
||||
}
|
||||
]);
|
||||
|
||||
script = selected;
|
||||
}
|
||||
|
@ -39,4 +41,4 @@ export const runRootScript = async (scriptArg) => {
|
|||
console.error(`❌ Failed to run script "${script}"`);
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue