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 targos committed Jan 14, 2022
1 parent 5ebe086 commit 0951bd9
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 0951bd9

Please sign in to comment.