mirror of
https://github.com/LukeHagar/arbiter.git
synced 2025-12-08 12:27:49 +00:00
10 lines
315 B
JavaScript
10 lines
315 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.verifyConfig = verifyConfig;
|
|
const errors_1 = require("./errors");
|
|
function verifyConfig(options) {
|
|
if (!options.target && !options.router) {
|
|
throw new Error(errors_1.ERRORS.ERR_CONFIG_FACTORY_TARGET_MISSING);
|
|
}
|
|
}
|