Skip to content

Commit 0951bd9

Browse files
Trotttargos
authored andcommitted
fs: correct param names in JSDoc comments
PR-URL: #41237 Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 5ebe086 commit 0951bd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2540,7 +2540,7 @@ function realpathSync(p, options) {
25402540

25412541
/**
25422542
* Returns the resolved pathname.
2543-
* @param {string | Buffer | URL} p
2543+
* @param {string | Buffer | URL} path
25442544
* @param {string | { encoding?: string; }} [options]
25452545
* @returns {string | Buffer}
25462546
*/
@@ -2694,7 +2694,7 @@ function realpath(p, options, callback) {
26942694
/**
26952695
* Asynchronously computes the canonical pathname by
26962696
* resolving `.`, `..` and symbolic links.
2697-
* @param {string | Buffer | URL} p
2697+
* @param {string | Buffer | URL} path
26982698
* @param {string | { encoding?: string; }} [options]
26992699
* @param {(
27002700
* err?: Error,

0 commit comments

Comments
 (0)