Skip to content

Commit

Permalink
fix: default needed for v5 of html-dom-parser (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcroote authored Jun 11, 2024
1 parent 4bc5250 commit 7a5ce75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/flexBuildIndexes.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const fs = require('fs');
var file = require('file');
const fse = require('fs-extra');
const { Index } = require('flexsearch');
const parse = require('html-dom-parser');
const parse = require('html-dom-parser').default;

let directoriesArr = [];
let id = 1; // Used as the id for each page added to the index
Expand Down

0 comments on commit 7a5ce75

Please sign in to comment.