rushangle-cli 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commands/install.js +8 -2
package/package.json
CHANGED
package/src/commands/install.js
CHANGED
|
@@ -129,7 +129,10 @@ module.exports = new Command('install')
|
|
|
129
129
|
const match = listData.items.find(
|
|
130
130
|
s => s.name === nameOrId || s.id === nameOrId
|
|
131
131
|
);
|
|
132
|
-
if (match)
|
|
132
|
+
if (match) {
|
|
133
|
+
// Re-fetch full data (list data is sanitized)
|
|
134
|
+
item = await api.getMcp(match.id);
|
|
135
|
+
}
|
|
133
136
|
}
|
|
134
137
|
}
|
|
135
138
|
|
|
@@ -183,7 +186,10 @@ module.exports = new Command('install')
|
|
|
183
186
|
const match = listData.items.find(
|
|
184
187
|
s => s.name === nameOrId || s.id === nameOrId
|
|
185
188
|
);
|
|
186
|
-
if (match)
|
|
189
|
+
if (match) {
|
|
190
|
+
// Re-fetch full data (list data is sanitized)
|
|
191
|
+
item = await api.getCode(match.id);
|
|
192
|
+
}
|
|
187
193
|
}
|
|
188
194
|
}
|
|
189
195
|
|