From bbf830f695f3365f58df1015314a0886c01f7c91 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Mon, 8 Jul 2024 22:39:57 +0800 Subject: [PATCH] build: enhance fix deps output --- scripts/fix-deps/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fix-deps/index.js b/scripts/fix-deps/index.js index bbd26a0..fecadb8 100644 --- a/scripts/fix-deps/index.js +++ b/scripts/fix-deps/index.js @@ -26,7 +26,7 @@ exports.fixDep = async function fixDep(targetFilePath, pairs) { const filePath = path.resolve(nodeModulesPath, targetFilePath) const source = await fs.readFile(filePath, 'utf-8') if (source.includes(MODIFIED_MARK)) { - console.log(`${filePath} has been fixed, skipping.`) + console.log(`${filePath.replace(process.cwd(), '.')} has been fixed, skipping.`) return } console.log(`Fixing ${targetFilePath}`)