mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 05:01:23 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -8,7 +8,7 @@ import { resolveBrewExecutable, resolveBrewPathDirs } from "./brew.js";
|
||||
|
||||
describe("brew helpers", () => {
|
||||
it("resolves brew from ~/.linuxbrew/bin when executable exists", async () => {
|
||||
const tmp = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-brew-"));
|
||||
const tmp = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-brew-"));
|
||||
try {
|
||||
const homebrewBin = path.join(tmp, ".linuxbrew", "bin");
|
||||
await fs.mkdir(homebrewBin, { recursive: true });
|
||||
@@ -24,7 +24,7 @@ describe("brew helpers", () => {
|
||||
});
|
||||
|
||||
it("prefers HOMEBREW_PREFIX/bin/brew when present", async () => {
|
||||
const tmp = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-brew-"));
|
||||
const tmp = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-brew-"));
|
||||
try {
|
||||
const prefix = path.join(tmp, "prefix");
|
||||
const prefixBin = path.join(prefix, "bin");
|
||||
|
||||
Reference in New Issue
Block a user