l7note
Version:
Access your notion notes quick
13 lines (12 loc) • 459 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSettingValueByName = void 0;
const setup_1 = require("../setup");
const getSettingValueByName = (input) => {
let index = setup_1.globalConfig.optionalArgs.findIndex(arg => arg.name == input);
if (index < 0) {
return '';
}
return setup_1.globalConfig.optionalArgs[index].value;
};
exports.getSettingValueByName = getSettingValueByName;