fix: only show extension review hint when waiting

This commit is contained in:
tianma-if committed 2026-10-17 19:09:33 +08:00
1 parent 55db1af4a6
commit 61419abfd8
1 file changed
+3 -1
+3 -1
View File
@@ -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(" "));