fix: commitAndPush 加上 await
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ async function main() {
|
|||||||
|
|
||||||
// Step5: commit/push findings.json 到來源分支
|
// Step5: commit/push findings.json 到來源分支
|
||||||
console.log('\n💾 Step5: 記憶區 Commit/Push');
|
console.log('\n💾 Step5: 記憶區 Commit/Push');
|
||||||
commitAndPush(WORKSPACE);
|
await commitAndPush(WORKSPACE);
|
||||||
|
|
||||||
// Step6: 有 critical 問題則 exit 1
|
// Step6: 有 critical 問題則 exit 1
|
||||||
console.log('\n🚦 Step6: 嚴重問題檢查');
|
console.log('\n🚦 Step6: 嚴重問題檢查');
|
||||||
|
|||||||
Reference in New Issue
Block a user