mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 23:59:45 +00:00
test: use lightweight install version fixture
This commit is contained in:
parent
7c974ca1af
commit
604ce85ce0
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue