Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoa committed Mar 23, 2024
1 parent e30ad52 commit ee32c0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2005,6 +2005,7 @@ export default class Fetcher implements CallbackifyInterface {
// Before we parse new data clear old but only on 200
if (options.clearPreviousData) {
// kb.removeDocument(options.resource)
// only remove content, keep metatdata
const sts = kb.statementsMatching(undefined, undefined, undefined, options.resource).slice() // Take a copy as this is the actual index
for (let i = 0; i < sts.length; i++) {
kb.removeStatement(sts[i])
Expand Down

0 comments on commit ee32c0f

Please sign in to comment.