Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 9a0ac2b

Browse files
committed
Merge remote-tracking branch 'upstream/master' into prp-update-to-the-upstream
2 parents 7b493cc + ec29e99 commit 9a0ac2b

File tree

2 files changed

+513
-437
lines changed

2 files changed

+513
-437
lines changed

extensions/eclipse-che-theia-plugin-remote/src/node/plugin-remote-init.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,4 +327,15 @@ class PluginDeployerHandlerImpl implements PluginDeployerHandler {
327327
}
328328

329329
}
330+
331+
async getPluginDependencies(plugin: PluginDeployerEntry): Promise<string[]> {
332+
const metadata = await this.reader.getPluginMetadata(plugin.path());
333+
if (metadata) {
334+
if (metadata.model.extensionDependencies) {
335+
return metadata.model.extensionDependencies;
336+
}
337+
}
338+
return [];
339+
}
340+
330341
}

0 commit comments

Comments
 (0)