Skip to content

Commit a1ce547

Browse files
committed
fix(cli): align update import contracts and process fixtures
1 parent c3dfde9 commit a1ce547

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/cli/update-cli/update-command-service.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ import {
6868
assertGatewayServiceManagementAllowedForUpdate,
6969
gatewayServiceCommandUsesRoot,
7070
GatewayServiceUpdateOwnershipError,
71-
isGatewayServiceManagementAllowedForUpdate,
7271
resolveGatewayServiceManagementBlockMessageForUpdate,
7372
} from "./update-command-service-plan.js";
7473
import {

‎src/cli/update-finalization-output.test-support.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const stubs = new Map<string, string>([
3636
[sourceUrl("../config/config.ts"), snapshotSource],
3737
[
3838
sourceUrl("../infra/update-check.ts"),
39-
"export const checkUpdateStatus = async () => { throw new Error('Unexpected registry check'); };",
39+
"export const resolveUpdateInstallKind = async () => { throw new Error('Unexpected install check'); };",
4040
],
4141
[
4242
sourceUrl("../plugins/installed-plugin-index-records.ts"),

‎src/infra/package-update-steps.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import {
3434
type NpmGlobalPrefixLayout,
3535
type ResolvedGlobalInstallTarget,
3636
} from "./update-global.js";
37-
export type { PackageUpdateStepAdvisory } from "./update-doctor-result.js";
3837

3938
const PACKAGE_MANAGER_SWAP_SOURCE_HARDLINKS = "allow" as const;
4039

‎src/infra/update-runner-types.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { CommandOptions } from "../process/exec.js";
22
import type { OpenClawSchemaVersions } from "../state/openclaw-schema-versions.js";
3-
import type { PackageUpdateStepAdvisory } from "./package-update-steps.js";
43
import type { UpdateChannel } from "./update-channels.js";
54
import type { DevUpdateTarget } from "./update-dev-target.js";
5+
import type { PackageUpdateStepAdvisory } from "./update-doctor-result.js";
66
import type { GlobalInstallManager } from "./update-global.js";
77

88
export type UpdateStepAdvisory = PackageUpdateStepAdvisory;

0 commit comments

Comments
 (0)