Skip to content

Commit

Permalink
fs: correct param names in JSDoc comments
Browse files Browse the repository at this point in the history
PR-URL: #41237
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
Trott authored and danielleadams committed Feb 1, 2022
1 parent a0a8f4d commit f4cef53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2538,7 +2538,7 @@ function realpathSync(p, options) {

/**
* Returns the resolved pathname.
* @param {string | Buffer | URL} p
* @param {string | Buffer | URL} path
* @param {string | { encoding?: string; }} [options]
* @returns {string | Buffer}
*/
Expand Down Expand Up @@ -2692,7 +2692,7 @@ function realpath(p, options, callback) {
/**
* Asynchronously computes the canonical pathname by
* resolving `.`, `..` and symbolic links.
* @param {string | Buffer | URL} p
* @param {string | Buffer | URL} path
* @param {string | { encoding?: string; }} [options]
* @param {(
* err?: Error,
Expand Down

0 comments on commit f4cef53

Please sign in to comment.