fs: correct param names in JSDoc comments

PR-URL: https://github.com/nodejs/node/pull/41237
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Rich Trott authored and Michaël Zasso committed 2022-01-14 16:19:33 +01:00
1 parent 5ebe086ea6
commit 0951bd94db
1 file changed
+2 -2
+2 -2
View File
@@ -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}
*/
@@ -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,