From 9914f28e1f7525d3b7bc2a6778916e319f395f4b Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Sun, 2 Mar 2025 19:47:45 +0800 Subject: [PATCH] chore: format --- src/node/utils/processIncludes.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/node/utils/processIncludes.ts b/src/node/utils/processIncludes.ts index a001fa45..3142f4d3 100644 --- a/src/node/utils/processIncludes.ts +++ b/src/node/utils/processIncludes.ts @@ -64,11 +64,17 @@ export function processIncludes( const lines = content.split(/\r?\n/).map((line) => line.trim()) const start = lines.findIndex((line) => line === titleName) if (start === -1) { - console.log(c.yellow(`\nTitle (${titleName}) not found in ${includePath}`)) + console.log( + c.yellow(`\nTitle (${titleName}) not found in ${includePath}`) + ) content = '' } else { if (lines.slice(start + 1).includes(titleName)) { - console.log(c.yellow(`\nMultiple identical titles (${titleName}) found in ${includePath}`)) + console.log( + c.yellow( + `\nMultiple identical titles (${titleName}) found in ${includePath}` + ) + ) } const prefixLength = titleName.match(/^#+/)?.[0].length || 0 const end = lines.findIndex(