Skip to content

Commit

Permalink
fix(hexo): delete unused variable in processor (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin authored Oct 3, 2024
1 parent 71d5891 commit 3c0f477
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions projects/hexo-renderer-typst/lib/processor.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ class Processor {
constructor(hexo, compiler) {
this.hexo = hexo;
this.compiler = compiler;
this.Post = hexo.model('Post');
this.renderCli = 'typst-ts-cli';

const postProcessor = require(path.resolve(
hexo.base_dir,
`node_modules/hexo/lib/plugins/processor/post`,
));
this.pp = postProcessor(hexo);
}

process(data) {
Expand Down

0 comments on commit 3c0f477

Please sign in to comment.