@toolr/seedr 0.1.67 → 0.1.68
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/dist/cli.js +3 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -164,7 +164,7 @@ function trackInstalls(slug, type, results, scope) {
|
|
|
164
164
|
type,
|
|
165
165
|
tool: result.tool,
|
|
166
166
|
scope,
|
|
167
|
-
version: "0.1.
|
|
167
|
+
version: "0.1.68"
|
|
168
168
|
}),
|
|
169
169
|
signal: AbortSignal.timeout(4e3)
|
|
170
170
|
}).catch(() => {
|
|
@@ -832,7 +832,8 @@ async function getInstalledPlugins(tool, scope, cwd = process.cwd()) {
|
|
|
832
832
|
for (const [pluginId, entries] of Object.entries(registry.plugins)) {
|
|
833
833
|
for (const entry of entries) {
|
|
834
834
|
if (entry.scope === scope && (scope === "user" || entry.projectPath === cwd)) {
|
|
835
|
-
|
|
835
|
+
const slug = pluginId.split("@")[0] || pluginId;
|
|
836
|
+
installed.push(slug);
|
|
836
837
|
break;
|
|
837
838
|
}
|
|
838
839
|
}
|