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) => {