diff --git a/dist/index.mjs b/dist/index.mjs index d6492cc..62a508a 100755 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -2971,10 +2971,10 @@ async function verify(context) { const { stdout } = await execa(bin, ["db", "verify", "--json"], { encoding: "utf8", detached: true, - // @ts-expect-error - stdout: ["inherit", "pipe"], + stdout: "pipe", stderr: "inherit" }); + console.log(stdout); const result = JSON.parse(stdout.toString()); return result; } diff --git a/src/index.ts b/src/index.ts index d2ad427..503ffa8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -78,10 +78,10 @@ async function verify(context: typeof github.context) { const { stdout } = await execa(bin, ["db", "verify", "--json"], { encoding: "utf8", detached: true, - // @ts-expect-error - stdout: ["inherit", "pipe"], + stdout: "pipe", stderr: "inherit", }); + console.log(stdout); const result = JSON.parse(stdout.toString()); return result; }