From 263865195beaf6a33c419ad65a77fdbe9abb86e4 Mon Sep 17 00:00:00 2001 From: kura Date: Tue, 1 Jul 2025 11:34:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=B1=E5=BA=A6=E5=A4=84?= =?UTF-8?q?=E7=90=86=E6=97=B6=E7=9A=84=E7=9B=AE=E5=BD=95=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6957c11..cdc3f0c 100644 --- a/index.js +++ b/index.js @@ -73,7 +73,7 @@ function processDirectory(inputDir, outputDir, options, currentDepth = 0) { .filter(entry => entry.isDirectory()) .map(entry => { const newInputPath = join(inputDir, entry.name); - if (resolve(newInputPath) === resolve(options.output)) { + if ((newInputPath) === (options.output)) { return Promise.resolve(); } const newOutputPath = join(outputDir, entry.name);