From 0951bd94db5b993429d792a5adde7e4ee58bc439 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 9884e85d5845ee..3f99d6b7b74739 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -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,