Skip to content

Commit

Permalink
Fixed an issue with logging non-stringified Buffers in case of publis…
Browse files Browse the repository at this point in the history
…h errors (#760)
  • Loading branch information
Andarist committed Feb 24, 2022
1 parent 75c30fc commit 5a2a59a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chilly-swans-approve.md
@@ -0,0 +1,5 @@
---
"@changesets/cli": patch
---

Fixed an issue with logging non-stringified Buffers in case of publish errors.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/publish/npm-utils.ts
Expand Up @@ -214,7 +214,7 @@ async function internalPublish(
);
}

error(stderr);
error(stderr.toString());
return { published: false };
}
return { published: true };
Expand Down

0 comments on commit 5a2a59a

Please sign in to comment.