test: use lightweight install version fixture

This commit is contained in:
Peter Steinberger
2026-04-23 18:45:06 +01:00
parent 7c974ca1af
commit 604ce85ce0

View File

@@ -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",