MCPcopy Create free account
hub / github.com/electron-userland/electron-builder / makeYargs

Function makeYargs

test/src/cliTest.ts:230–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228// ─── Command configuration ───────────────────────────────────────────────────
229
230function makeYargs() {
231 return yargs([] as string[])
232 .exitProcess(false)
233 .fail((msg: string, err: Error) => {
234 throw err ?? new Error(msg)
235 })
236}
237
238describe("configureBuildCommand", () => {
239 test("registers --x64 and --arm64 as boolean arch flags", () => {

Callers 1

cliTest.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected