From f4cef533c3c27a3f2ffe999df5c47ba850dcc087 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 21 Dec 2021 09:53:57 -0800 Subject: [PATCH] fs: correct param names in JSDoc comments PR-URL: https://github.com/nodejs/node/pull/41237 Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- lib/fs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fs.js b/lib/fs.js index 729d8aeae8cc70..9ec725ffebdf58 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -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} */ @@ -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,