Skip to content

Commit

Permalink
Docs: fix broken link to Got stream documentation (#3323)
Browse files Browse the repository at this point in the history
  • Loading branch information
kidonng committed Aug 7, 2022
1 parent 9a0d9ee commit e547eaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api-constructor.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ promises.push(
.toFile("optimized-500.webp")
);

// https://github.com/sindresorhus/got#gotstreamurl-options
// https://github.com/sindresorhus/got/blob/main/documentation/3-streams.md
got.stream("https://www.example.com/some-file.jpg").pipe(sharpStream);

Promise.all(promises)
Expand Down
2 changes: 1 addition & 1 deletion lib/constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ Object.setPrototypeOf(Sharp, stream.Duplex);
* .toFile("optimized-500.webp")
* );
*
* // https://github.com/sindresorhus/got#gotstreamurl-options
* // https://github.com/sindresorhus/got/blob/main/documentation/3-streams.md
* got.stream("https://www.example.com/some-file.jpg").pipe(sharpStream);
*
* Promise.all(promises)
Expand Down

0 comments on commit e547eaa

Please sign in to comment.