viza 1.9.1 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -146,13 +146,13 @@ export async function dispatchIntentAndWait(input, opts = {}) {
|
|
|
146
146
|
]) // Ép kiểu tại đây
|
|
147
147
|
]);
|
|
148
148
|
// 4. Dừng spinner và in kết quả dispatch trước
|
|
149
|
-
const conclusion = result.kind === "github" ? result.
|
|
149
|
+
const conclusion = result.kind === "github" ? result.conclusion : 'done';
|
|
150
150
|
const message = result.kind === "github"
|
|
151
151
|
? conclusion === "success"
|
|
152
152
|
? chalk.green("✅ Done")
|
|
153
153
|
: conclusion === "failure"
|
|
154
154
|
? chalk.red("❌ Failed")
|
|
155
|
-
: chalk.yellow("⚠️
|
|
155
|
+
: chalk.yellow("⚠️ Completed")
|
|
156
156
|
: result.status === "success"
|
|
157
157
|
? chalk.green("✅ Done")
|
|
158
158
|
: chalk.red("❌ Failed");
|