Skip to content

Commit

Permalink
fix(publish): miss npm error message
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Cui <[email protected]>
  • Loading branch information
BlackHole1 committed Jan 17, 2025
1 parent c31cf9d commit c94b237
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/cmd/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {});
Expand Down

0 comments on commit c94b237

Please sign in to comment.