Skip to content

@pumpkin-plugins/test-harness API / binary / resolvePumpkinBinary

Function: resolvePumpkinBinary() ​

resolvePumpkinBinary(): Promise<string>

Defined in: binary.ts:24

Returns PUMPKIN_BIN when set; otherwise returns the pinned release binary from PUMPKIN_CACHE_DIR (default <repo>/.cache/pumpkin), checking downloads and cached files against the SHA-256 pinned in pumpkin-version.ts. A verified cached binary needs no network.

Returns ​

Promise<string>

pumpkin-plugins documentation