fix: Add emoji variant selector to all warning signs (#1396)

Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
This commit is contained in:
Ben Coombs
2025-11-12 14:30:32 +00:00
committed by GitHub
parent 37aee7809c
commit 9883e83b78
7 changed files with 14 additions and 9 deletions

View File

@@ -408,14 +408,14 @@ Examples:
}
} else {
console.log(
chalk.yellow('⚠ Context setup was skipped or encountered issues')
chalk.yellow('⚠ Context setup was skipped or encountered issues')
);
console.log(
chalk.gray(' You can set up context later with "tm context"')
);
}
} catch (contextError) {
console.log(chalk.yellow('⚠ Context setup encountered an error'));
console.log(chalk.yellow('⚠ Context setup encountered an error'));
console.log(
chalk.gray(' You can set up context later with "tm context"')
);
@@ -551,14 +551,14 @@ Examples:
}
} else {
console.log(
chalk.yellow('⚠ Context setup was skipped or encountered issues')
chalk.yellow('⚠ Context setup was skipped or encountered issues')
);
console.log(
chalk.gray(' You can set up context later with "tm context"')
);
}
} catch (contextError) {
console.log(chalk.yellow('⚠ Context setup encountered an error'));
console.log(chalk.yellow('⚠ Context setup encountered an error'));
console.log(
chalk.gray(' You can set up context later with "tm context"')
);

View File

@@ -216,7 +216,7 @@ export class OutputFormatter {
)
);
} else {
console.warn(chalk.yellow(`${message}`));
console.warn(chalk.yellow(` ${message}`));
}
}

View File

@@ -192,7 +192,7 @@ export class NextCommand extends Command {
padding: 1,
borderStyle: 'round',
borderColor: 'yellow',
title: '⚠ NO TASKS AVAILABLE ⚠',
title: '⚠ NO TASKS AVAILABLE ⚠',
titleAlignment: 'center'
}
)

View File

@@ -291,7 +291,7 @@ export class ShowCommand extends Command {
});
if (result.notFound.length > 0) {
console.log(chalk.yellow(`\n⚠ Not found: ${result.notFound.join(', ')}`));
console.log(chalk.yellow(`\n⚠ Not found: ${result.notFound.join(', ')}`));
}
if (result.tasks.length === 0) {

View File

@@ -38,7 +38,7 @@ export function displayRecommendedNextTask(
padding: 1,
borderStyle: 'round',
borderColor: 'yellow',
title: '⚠ NO TASKS AVAILABLE ⚠',
title: '⚠ NO TASKS AVAILABLE ⚠',
titleAlignment: 'center'
}
)

View File

@@ -233,7 +233,7 @@ export function displayWarning(message: string): void {
const boxWidth = getBoxWidth();
console.log(
boxen(chalk.yellow.bold('⚠ ') + chalk.white(message), {
boxen(chalk.yellow.bold('⚠ ') + chalk.white(message), {
padding: 1,
borderStyle: 'round',
borderColor: 'yellow',