"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const isEnabled = (state) => {
    var _a, _b;
    const _isEnabled = ((_a = state === null || state === void 0 ? void 0 : state.config) === null || _a === void 0 ? void 0 : _a.enabled) === 'false' ? false : (_b = state === null || state === void 0 ? void 0 : state.config) === null || _b === void 0 ? void 0 : _b.enabled;
    if (!_isEnabled) {
        process.exit(1);
    }
    return _isEnabled;
};
exports.default = isEnabled;
//# sourceMappingURL=isEnabled.js.map