mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 09:11:26 +00:00
chore: wtf.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import type { RuntimeEnv } from "../runtime.js";
|
||||
import type { DoctorOptions } from "./doctor-prompter.js";
|
||||
import { formatCliCommand } from "../cli/command-format.js";
|
||||
import { isTruthyEnvValue } from "../infra/env.js";
|
||||
import { runGatewayUpdate } from "../infra/update-runner.js";
|
||||
import { runCommandWithTimeout } from "../process/exec.js";
|
||||
import type { RuntimeEnv } from "../runtime.js";
|
||||
import { note } from "../terminal/note.js";
|
||||
import type { DoctorOptions } from "./doctor-prompter.js";
|
||||
|
||||
async function detectOpenClawGitCheckout(root: string): Promise<"git" | "not-git" | "unknown"> {
|
||||
const res = await runCommandWithTimeout(["git", "-C", root, "rev-parse", "--show-toplevel"], {
|
||||
|
||||
Reference in New Issue
Block a user