You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
709 B

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.withDangerousMod = void 0;
function _withMod() {
const data = require("./withMod");
_withMod = function () {
return data;
};
return data;
}
/**
* Mods that don't modify any data, all unresolved functionality is performed inside a dangerous mod.
* All dangerous mods run first before other mods.
*
* @param config
* @param platform
* @param action
*/
const withDangerousMod = (config, [platform, action]) => {
return (0, _withMod().withMod)(config, {
platform,
mod: 'dangerous',
action
});
};
exports.withDangerousMod = withDangerousMod;
//# sourceMappingURL=withDangerousMod.js.map