11
This commit is contained in:
@@ -40,6 +40,7 @@ globalThis.__nodejsMain = async function main(params) {
|
||||
description,
|
||||
tags,
|
||||
autoPublish,
|
||||
keepPageOpen: !autoPublish,
|
||||
});
|
||||
results.push({
|
||||
platform: label,
|
||||
@@ -70,8 +71,16 @@ globalThis.__nodejsMain = async function main(params) {
|
||||
const pending = results.filter((r) => r.pending).length;
|
||||
const failed = results.length - ok - pending;
|
||||
|
||||
const keepBrowserOpen = results.some(
|
||||
(r) =>
|
||||
r.pending ||
|
||||
r.status === "manual_pending" ||
|
||||
r.status === "verification_required",
|
||||
);
|
||||
|
||||
return {
|
||||
success: ok > 0 || pending > 0,
|
||||
keepBrowserOpen,
|
||||
results,
|
||||
summary: { ok, pending, failed, total: results.length },
|
||||
message:
|
||||
|
||||
Reference in New Issue
Block a user