From 49cb62b2872deaf92e2ee261d59a6a703724d902 Mon Sep 17 00:00:00 2001 From: v-zhangjc9 Date: Thu, 3 Jul 2025 10:36:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(bin):=20=E4=BF=AE=E5=A4=8Dpom=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/library.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/library.js b/bin/library.js index 6345a23..4feb153 100644 --- a/bin/library.js +++ b/bin/library.js @@ -95,7 +95,7 @@ export const run_deploy = async (project) => { } export const run_deploy_root = async () => { - if (!(await isModified(pom.xml))) { + if (!(await isModified('pom.xml'))) { console.log(`✅ Skip deploy root`) return } @@ -104,7 +104,7 @@ export const run_deploy_root = async () => { () => $`mvn clean deploy -N -D skipTests -s ${maven_setting}` ) console.log(`✅ Finished deploy root (${millisecondToString(output['duration'])})`) - await updateModifiedTime(`pom.xml`) + await updateModifiedTime('pom.xml') } export const run_deploy_batch = async (projects) => {