Conditionally use consent flow (#8551)

This commit is contained in:
christine betts
2025-09-17 09:24:38 -04:00
committed by GitHub
parent 1a6e4a119e
commit 0403375799
3 changed files with 47 additions and 27 deletions

View File

@@ -47,7 +47,7 @@ export async function handleInstall(args: InstallArgs) {
throw new Error('Either --source or --path must be provided.');
}
const name = await installExtension(installMetadata);
const name = await installExtension(installMetadata, true);
console.log(`Extension "${name}" installed successfully and enabled.`);
} catch (error) {
console.error(getErrorMessage(error));