MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / removeFixture

Function removeFixture

e2e/cli/custom-tools-packed.test.ts:142–149  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

140};
141
142const removeFixture = (path: string): Effect.Effect<void> =>
143 Effect.promise(() =>
144 ssh(
145 guestOs() === "windows"
146 ? `Remove-Item -Recurse -Force '${path}' -ErrorAction SilentlyContinue`
147 : `rm -rf '${path}'`,
148 ).then(() => undefined),
149 ).pipe(Effect.ignore);
150
151const request = async <T>(
152 target: TargetShape,

Callers 1

Calls 2

sshFunction · 0.70
guestOsFunction · 0.70

Tested by

no test coverage detected