diff --git a/app/main.js b/app/main.js index 4e6f88c..5e13dc8 100644 --- a/app/main.js +++ b/app/main.js @@ -91,7 +91,7 @@ async function main() { // Step5: commit/push findings.json 到來源分支 console.log('\n💾 Step5: 記憶區 Commit/Push'); - commitAndPush(WORKSPACE); + await commitAndPush(WORKSPACE); // Step6: 有 critical 問題則 exit 1 console.log('\n🚦 Step6: 嚴重問題檢查');