Skip to content

Commit

Permalink
perf: do not write out pdf content to html file
Browse files Browse the repository at this point in the history
This will reduce disk storage.
  • Loading branch information
aalemayhu committed Dec 2, 2024
1 parent 4e4dbf8 commit faa6b78
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/lib/parser/PrepareDeck.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import fs from 'fs';
import path from 'path';

import getDeckFilename from '../anki/getDeckFilename';
import { DeckParser, DeckParserInput } from './DeckParser';
import Deck from './Deck';
Expand Down Expand Up @@ -29,10 +26,6 @@ export async function PrepareDeck(
noLimits: input.noLimits,
contents: file.contents,
});
fs.writeFileSync(
path.join(input.workspace.location, 'input.html'),
file.contents.toString()
);
}
}

Expand Down

0 comments on commit faa6b78

Please sign in to comment.