fix(doctor): drop unused listBuiltRuntimeEntryCandidates import and b… · openclaw/openclaw@7dd1bd8
arniesaha
·
2026-06-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import crypto from "node:crypto"; |
2 | 2 | import fs from "node:fs/promises"; |
3 | 3 | import path from "node:path"; |
4 | | -import { listBuiltRuntimeEntryCandidates } from "../plugins/package-entrypoints.js"; |
5 | 4 | import type { PostUpgradeFinding, PostUpgradeReport } from "./doctor-post-upgrade.types.js"; |
6 | 5 | |
7 | 6 | type InstalledPluginRecord = { |
@@ -47,7 +46,9 @@ export async function runPostUpgradeProbes(params: {
|
47 | 46 | const installs = JSON.parse(installsRaw) as InstallsJson; |
48 | 47 | |
49 | 48 | for (const record of installs.plugins) { |
50 | | -if (!record.enabled) continue; |
| 49 | +if (!record.enabled) { |
| 50 | +continue; |
| 51 | +} |
51 | 52 | const pkgRelPath = record.packageJson?.path ?? "package.json"; |
52 | 53 | let pkg: { openclaw?: { extensions?: string[]; runtimeExtensions?: string[] } }; |
53 | 54 | try { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。