ut-tools
Version:
Build and Release management automation package.
18 lines • 540 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const spectral_core_1 = require("@stoplight/spectral-core");
const optionSchemas_1 = require("./optionSchemas");
exports.default = (0, spectral_core_1.createRulesetFunction)({
input: null,
options: optionSchemas_1.optionSchemas.falsy,
}, function falsy(input) {
if (input) {
return [
{
message: '#{{print("property")}}must be falsy',
},
];
}
return;
});
//# sourceMappingURL=falsy.js.map