From c94b2376d3a0dc11107c0fcfc9230ea8e9510c90 Mon Sep 17 00:00:00 2001 From: Kevin Cui Date: Fri, 17 Jan 2025 15:12:27 +0800 Subject: [PATCH] fix(publish): miss npm error message Signed-off-by: Kevin Cui --- src/cmd/publish.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cmd/publish.ts b/src/cmd/publish.ts index 4986267..ec3ee7f 100644 --- a/src/cmd/publish.ts +++ b/src/cmd/publish.ts @@ -14,8 +14,6 @@ export async function publish(p: string, registry: string, token: string): Promi await execa({ cwd: workdir, env: env(registry), - stdout: "inherit", - stderr: "inherit", })`npm publish`; await remove(workdir).catch(() => {});