Skip to content

Commit 2f03fe1

Browse files
test
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 9d3dcb4 commit 2f03fe1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

code/src/vs/server/node/che/defaultExtensionsInstaller.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,11 @@ export class DefaultExtensionsInstaller extends Disposable {
9191
const results = await Promise.allSettled(
9292
vsixUris.map(async (vsixUri) => {
9393
this.logService.info(`DefaultExtensionsInstaller: Installing extension from ${vsixUri.fsPath}`);
94+
// Use the same options as the old command - don't set donotIncludePackAndDependencies
95+
// so dependencies are automatically installed from the gallery
9496
await this.extensionManagementService.install(vsixUri, {
9597
isDefault: true, // Mark as default extension to bypass policy checks
96-
installGivenVersion: true, // Same as old command
97-
donotIncludePackAndDependencies: false
98+
installGivenVersion: true // Same as old command - this will install dependencies automatically
9899
});
99100
this.logService.info(`DefaultExtensionsInstaller: Successfully installed extension from ${vsixUri.fsPath}`);
100101
return vsixUri.fsPath;

0 commit comments

Comments
 (0)