Skip to content

Commit

Permalink
Fix readme example comment (#1505)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <[email protected]>
  • Loading branch information
toondaey and sindresorhus authored Oct 19, 2020
1 parent 390b145 commit b1afa2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const pipeline = promisify(stream.pipeline);
fs.createWriteStream('index.html')
);

// For POST, PUT, and PATCH methods `got.stream` returns a `stream.Writable`
// For POST, PUT, PATCH, and DELETE methods, `got.stream` returns a `stream.Writable`.
await pipeline(
fs.createReadStream('index.html'),
got.stream.post('https://sindresorhus.com')
Expand Down

0 comments on commit b1afa2b

Please sign in to comment.