MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / preflight

Function preflight

scripts/spec-init.ts:204–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202];
203
204function preflight(): void {
205 if (!existsSync(join(REPO_ROOT, "tools/spec-loop/templates/next.md"))) {
206 fail(
207 `tools/spec-loop/templates/next.md is missing — is this a BoringStack checkout?`
208 );
209 }
210}
211
212function run(): void {
213 step("Wiring the spec loop into this project");

Callers 1

runFunction · 0.85

Calls 1

failFunction · 0.85

Tested by

no test coverage detected