Import lib/remote-ssh/index.js
This commit is contained in:
parent
d5cafbf1a8
commit
4705c5640c
|
|
@ -4452,7 +4452,11 @@ function apply(ctx, config) {
|
|||
const rawConfig = config && typeof config === "object" ? config : {};
|
||||
|
||||
// ---- 先判断这一代 settings 用哪套 API(issue #34:0.1.5/0.1.6 两套都有)----
|
||||
const entryId = ownEntryId(ctx, name) || NS;
|
||||
// [workspace-groups-remote patch] Inside the merged bundle there is no
|
||||
// loader row named dsh-remote-ssh: the settings entry lives on the
|
||||
// bundle's own row, whose composed plugin exports this plugin's Config.
|
||||
// Resolve that row before falling back to the standalone namespace.
|
||||
const entryId = ownEntryId(ctx, name) || ownEntryId(ctx, "workspace-groups-remote") || NS;
|
||||
const settingsApi = settingsApiMode(svc, entryId);
|
||||
|
||||
// ---- 新版(0.1.7-rc.2+):数据在本插件 loader 行的 Config 里 ----
|
||||
|
|
|
|||
Loading…
Reference in New Issue