fix(ci): validate packaged Windows CLI commands exactly

This commit is contained in:
N0zoM1z0
2026-07-17 03:05:19 +09:00
committed by N0zoM1z0
parent 32dda0c19e
commit 43418ee911
+5 -1
View File
@@ -65,7 +65,11 @@ try {
env: environment,
windowsHide: true,
});
if (!help.stdout.includes("open") || !help.stdout.includes("providers"))
if (
!/^\s{2}inspect\s/mu.test(help.stdout) ||
!/^\s{2}decompile\s/mu.test(help.stdout) ||
!/^\s{2}providers\s/mu.test(help.stdout)
)
throw new Error("Packaged Windows CLI help omitted analysis commands");
const server = new StdioClientTransport({