We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d123f94 commit 2b48a38Copy full SHA for 2b48a38
1 file changed
lib/fs.js
@@ -1539,7 +1539,7 @@ realpathSync.native = (path, options) => {
1539
1540
1541
function realpath(p, options, callback) {
1542
- callback = maybeCallback(typeof options === 'function' ? options : callback);
+ callback = typeof options === 'function' ? options : maybeCallback(callback);
1543
if (!options)
1544
options = emptyObj;
1545
else
0 commit comments