mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 21:40:20 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
|
||||
import { resolveMoltbotPackageRoot } from "../infra/moltbot-root.js";
|
||||
import { resolveOpenClawPackageRoot } from "../infra/openclaw-root.js";
|
||||
|
||||
export async function resolveMoltbotDocsPath(params: {
|
||||
export async function resolveOpenClawDocsPath(params: {
|
||||
workspaceDir?: string;
|
||||
argv1?: string;
|
||||
cwd?: string;
|
||||
@@ -15,7 +15,7 @@ export async function resolveMoltbotDocsPath(params: {
|
||||
if (fs.existsSync(workspaceDocs)) return workspaceDocs;
|
||||
}
|
||||
|
||||
const packageRoot = await resolveMoltbotPackageRoot({
|
||||
const packageRoot = await resolveOpenClawPackageRoot({
|
||||
cwd: params.cwd,
|
||||
argv1: params.argv1,
|
||||
moduleUrl: params.moduleUrl,
|
||||
|
||||
Reference in New Issue
Block a user