From 61419abfd8f8a5583cb01c28ae2b368ba127f31e Mon Sep 17 00:00:00 2001 From: tianma-if Date: Sat, 17 Oct 2026 19:09:33 +0800 Subject: [PATCH] fix: only show extension review hint when waiting --- scripts/publish-web-clipper.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/publish-web-clipper.mjs b/scripts/publish-web-clipper.mjs index d2d04748..ec446144 100644 --- a/scripts/publish-web-clipper.mjs +++ b/scripts/publish-web-clipper.mjs @@ -920,7 +920,9 @@ const main = async () => { ...results.map(([store, result]) => `${store}: ${result.action}${result.reason ? ` — ${result.reason}` : ""}`), "Chrome and Edge use the same Chrome Web Store submission. Review still has to approve it.", "Firefox review still has to approve and sign the package.", - "waiting-review: no package was submitted to that store. After review completes, manually rerun Submit Web Clipper with the original release_tag and that platform.", + ...(results.some(([, result]) => result.action === "waiting-review") + ? ["waiting-review: no package was submitted to that store. After review completes, manually rerun Submit Web Clipper with the original release_tag and that platform."] + : []), ].join("\n")); if (failures.length > 0) { throw new Error(failures.join(" "));