fix(cli): color extension link success message green (#18386)

This commit is contained in:
Grant McCloskey
2026-02-05 10:34:09 -08:00
committed by GitHub
parent 5b9ea35b63
commit 5d04a01b06

View File

@@ -5,6 +5,7 @@
*/
import type { CommandModule } from 'yargs';
import chalk from 'chalk';
import {
debugLogger,
type ExtensionInstallMetadata,
@@ -49,7 +50,9 @@ export async function handleLink(args: InstallArgs) {
const extension =
await extensionManager.installOrUpdateExtension(installMetadata);
debugLogger.log(
`Extension "${extension.name}" linked successfully and enabled.`,
chalk.green(
`Extension "${extension.name}" linked successfully and enabled.`,
),
);
} catch (error) {
debugLogger.error(getErrorMessage(error));