From 3c0f47790c122e4947bce3a670c89e3234057b69 Mon Sep 17 00:00:00 2001 From: Myriad-Dreamin <35292584+Myriad-Dreamin@users.noreply.github.com> Date: Thu, 3 Oct 2024 20:07:48 +0800 Subject: [PATCH] fix(hexo): delete unused variable in processor (#592) --- projects/hexo-renderer-typst/lib/processor.cjs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/projects/hexo-renderer-typst/lib/processor.cjs b/projects/hexo-renderer-typst/lib/processor.cjs index 126a5114..cdf9d81e 100644 --- a/projects/hexo-renderer-typst/lib/processor.cjs +++ b/projects/hexo-renderer-typst/lib/processor.cjs @@ -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) {