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

Function fail

apps/cloud/scripts/assert-worker-bundler-assets.mjs:10–13  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

8const sourceAssetMinimum = 512 * 1024;
9
10const fail = (message) => {
11 // oxlint-disable-next-line executor/no-try-catch-or-throw, executor/no-error-constructor -- boundary: build assertion script reports a failed artifact contract
12 throw new Error(message);
13};
14
15const fileSize = (dir, name) => statSync(join(dir.pathname, name)).size;
16

Calls

no outgoing calls

Tested by

no test coverage detected