fix: formatting
This commit is contained in:
parent
c23c0baec1
commit
d27f6b555f
|
|
@ -303,12 +303,7 @@ async function autocompleteMultiselect(options) {
|
||||||
|
|
||||||
const errorLine = this.state === 'error' ? [`${bar} ${color.yellow(this.error)}`] : [];
|
const errorLine = this.state === 'error' ? [`${bar} ${color.yellow(this.error)}`] : [];
|
||||||
|
|
||||||
const headerLines = [
|
const headerLines = [...`${title}${bar}`.split('\n'), `${bar} ${searchDisplay}${matchCount}`, ...noMatchesLine, ...errorLine];
|
||||||
...`${title}${bar}`.split('\n'),
|
|
||||||
`${bar} ${searchDisplay}${matchCount}`,
|
|
||||||
...noMatchesLine,
|
|
||||||
...errorLine,
|
|
||||||
];
|
|
||||||
|
|
||||||
const footerLines = [`${bar} ${color.dim(hints.join(' • '))}`, `${barEnd}`];
|
const footerLines = [`${bar} ${color.dim(hints.join(' • '))}`, `${barEnd}`];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -999,7 +999,7 @@ class UI {
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
chalk.gray(`Directory exists and contains ${files.length} item(s)`) +
|
chalk.gray(`Directory exists and contains ${files.length} item(s)`) +
|
||||||
(hasBmadInstall ? chalk.yellow(` including existing BMAD installation (${path.basename(bmadResult.bmadDir)})`) : ''),
|
(hasBmadInstall ? chalk.yellow(` including existing BMAD installation (${path.basename(bmadResult.bmadDir)})`) : ''),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
console.log(chalk.gray('Directory exists and is empty'));
|
console.log(chalk.gray('Directory exists and is empty'));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue