Skip to content

Commit

Permalink
Merge pull request #12404 from Automattic/fix-url
Browse files Browse the repository at this point in the history
docs: fix invalid formatting for URL
  • Loading branch information
AbdelrahmanHafez authored Sep 8, 2022
2 parents 2304d91 + e1f31f1 commit fbf543c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/aggregate.js
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ Aggregate.prototype.catch = function(reject) {
};

/**
* Returns an asyncIterator for use with [`for/await/of` loops](https://thecodebarbarian.com/getting-started-with-async-iterators-in-node-js
* Returns an asyncIterator for use with [`for/await/of` loops](https://thecodebarbarian.com/getting-started-with-async-iterators-in-node-js)
* You do not need to call this function explicitly, the JavaScript runtime
* will call it for you.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/cursor/AggregationCursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ AggregationCursor.prototype.eachAsync = function(fn, opts, callback) {
};

/**
* Returns an asyncIterator for use with [`for/await/of` loops](https://thecodebarbarian.com/getting-started-with-async-iterators-in-node-js
* Returns an asyncIterator for use with [`for/await/of` loops](https://thecodebarbarian.com/getting-started-with-async-iterators-in-node-js)
* You do not need to call this function explicitly, the JavaScript runtime
* will call it for you.
*
Expand Down
2 changes: 1 addition & 1 deletion types/aggregate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ declare module 'mongoose' {

class Aggregate<R> implements SessionOperation {
/**
* Returns an asyncIterator for use with [`for/await/of` loops](https://thecodebarbarian.com/getting-started-with-async-iterators-in-node-js
* Returns an asyncIterator for use with [`for/await/of` loops](https://thecodebarbarian.com/getting-started-with-async-iterators-in-node-js)
* You do not need to call this function explicitly, the JavaScript runtime
* will call it for you.
*/
Expand Down

0 comments on commit fbf543c

Please sign in to comment.