mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:40:44 +00:00
test: use lightweight install version fixture
This commit is contained in:
@@ -12,7 +12,7 @@ function withFakeCli(versionOutput: string): { root: string; cliPath: string } {
|
||||
const escapedOutput = versionOutput.replace(/'/g, "'\\''");
|
||||
fs.writeFileSync(
|
||||
cliPath,
|
||||
`#!/usr/bin/env bash
|
||||
`#!/bin/sh
|
||||
printf '%s\n' '${escapedOutput}'
|
||||
`,
|
||||
"utf-8",
|
||||
|
||||
Reference in New Issue
Block a user