UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

14 lines (13 loc) • 328 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Bail = void 0; const base_1 = require("../base"); class Bail { run(context) { if (context.errors.length > 0) { throw new base_1.ValidationHalt(); } return Promise.resolve(); } } exports.Bail = Bail;