scripts/build-options.js
Function buildOptions
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const buildOptions = () => {
const body = fs.readFileSync(
`${__dirname}/../node_modules/bootstrap-daterangepicker/website/index.html`
);
const $ = cheerio.load(body);