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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
Trott authored Dec 21, 2021
1 parent 23f1b22 commit 1d34f0f
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 @@ -2540,7 +2540,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 @@ -2694,7 +2694,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 1d34f0f

Please sign in to comment.