import { commandExists } from "./exec.mjs"; export function requireReleaseTool(command, exists = commandExists) { if (!exists(command)) { throw new Error(`${command} is required for the release gate but was not found on PATH.`); } return command; }