mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
#15756 support pre-release while installing through cli and commands
This commit is contained in:
@@ -71,7 +71,7 @@ CommandsRegistry.registerCommand('_remoteCLI.manageExtensions', async function (
|
||||
const revive = (inputs: (string | UriComponents)[]) => inputs.map(input => isString(input) ? input : URI.revive(input));
|
||||
if (Array.isArray(args.install) && args.install.length) {
|
||||
try {
|
||||
await cliService.installExtensions(revive(args.install), [], true, !!args.force, output);
|
||||
await cliService.installExtensions(revive(args.install), [], { isMachineScoped: true }, !!args.force, output);
|
||||
} catch (e) {
|
||||
lines.push(e.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user