mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 23:40:45 +00:00
chore: wtf.
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import { spinner } from "@clack/prompts";
|
||||
import { formatDurationPrecise } from "../../infra/format-time/format-duration.ts";
|
||||
import type {
|
||||
UpdateRunResult,
|
||||
UpdateStepInfo,
|
||||
UpdateStepProgress,
|
||||
} from "../../infra/update-runner.js";
|
||||
import type { UpdateCommandOptions } from "./shared.js";
|
||||
import { formatDurationPrecise } from "../../infra/format-time/format-duration.ts";
|
||||
import { defaultRuntime } from "../../runtime.js";
|
||||
import { theme } from "../../terminal/theme.js";
|
||||
import type { UpdateCommandOptions } from "./shared.js";
|
||||
|
||||
const STEP_LABELS: Record<string, string> = {
|
||||
"clean check": "Working directory is clean",
|
||||
|
||||
@@ -2,7 +2,6 @@ import { spawnSync } from "node:child_process";
|
||||
import fs from "node:fs/promises";
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import type { UpdateStepProgress, UpdateStepResult } from "../../infra/update-runner.js";
|
||||
import { resolveStateDir } from "../../config/paths.js";
|
||||
import { resolveOpenClawPackageRoot } from "../../infra/openclaw-root.js";
|
||||
import { readPackageName, readPackageVersion } from "../../infra/package-json.js";
|
||||
@@ -14,6 +13,7 @@ import {
|
||||
detectGlobalInstallManagerForRoot,
|
||||
type GlobalInstallManager,
|
||||
} from "../../infra/update-global.js";
|
||||
import type { UpdateStepProgress, UpdateStepResult } from "../../infra/update-runner.js";
|
||||
import { runCommandWithTimeout } from "../../process/exec.js";
|
||||
import { defaultRuntime } from "../../runtime.js";
|
||||
import { theme } from "../../terminal/theme.js";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { confirm, isCancel } from "@clack/prompts";
|
||||
import path from "node:path";
|
||||
import { confirm, isCancel } from "@clack/prompts";
|
||||
import {
|
||||
checkShellCompletionStatus,
|
||||
ensureCompletionCacheExists,
|
||||
|
||||
Reference in New Issue
Block a user