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 00366e2 commit e34d41eCopy full SHA for e34d41e
1 file changed
lib/fs.js
@@ -1570,7 +1570,7 @@ realpathSync.native = (path, options) => {
1570
1571
1572
function realpath(p, options, callback) {
1573
- callback = maybeCallback(typeof options === 'function' ? options : callback);
+ callback = typeof options === 'function' ? options : maybeCallback(callback);
1574
if (!options)
1575
options = emptyObj;
1576
else
0 commit comments