Skip to content

Commit

Permalink
fix(pdf content): fix content not imported if skipcontent option is n…
Browse files Browse the repository at this point in the history
…ot set.
  • Loading branch information
makaanneo committed Dec 22, 2022
1 parent 525cf82 commit 0d6c2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/pdfTypeHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class pdfTypeHandler
}
async loadFile(filePath: string): Promise<iRawFile> {
let pdfFullText = '';
if (this._settings.Values.skipFileContent) {
if (!this._settings.Values.skipFileContent) {
pdfFullText = await this._pdf.extractPdfText(filePath);
}
const metaInformation = await this._pdf.extractPdfMetadata(filePath);
Expand Down

0 comments on commit 0d6c2bc

Please sign in to comment.