Skip to content

Commit f4cef53

Browse files
Trottdanielleadams
authored andcommitted
fs: correct param names in JSDoc comments
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>
1 parent a0a8f4d commit f4cef53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2538,7 +2538,7 @@ function realpathSync(p, options) {
25382538

25392539
/**
25402540
* Returns the resolved pathname.
2541-
* @param {string | Buffer | URL} p
2541+
* @param {string | Buffer | URL} path
25422542
* @param {string | { encoding?: string; }} [options]
25432543
* @returns {string | Buffer}
25442544
*/
@@ -2692,7 +2692,7 @@ function realpath(p, options, callback) {
26922692
/**
26932693
* Asynchronously computes the canonical pathname by
26942694
* resolving `.`, `..` and symbolic links.
2695-
* @param {string | Buffer | URL} p
2695+
* @param {string | Buffer | URL} path
26962696
* @param {string | { encoding?: string; }} [options]
26972697
* @param {(
26982698
* err?: Error,

0 commit comments

Comments
 (0)