Skip to content

Commit

Permalink
docs: add new to create WritableStreamBuffer instances (#2724)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinMartinDev committed Mar 7, 2023
1 parent 00714c0 commit 6bd6afd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/developer-guide/js-api.md
Expand Up @@ -6,8 +6,8 @@
const semanticRelease = require("semantic-release");
const { WritableStreamBuffer } = require("stream-buffers");

const stdoutBuffer = WritableStreamBuffer();
const stderrBuffer = WritableStreamBuffer();
const stdoutBuffer = new WritableStreamBuffer();
const stderrBuffer = new WritableStreamBuffer();

try {
const result = await semanticRelease(
Expand Down

0 comments on commit 6bd6afd

Please sign in to comment.