We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04282cd commit f4a880dCopy full SHA for f4a880d
lib/fs/index.js
@@ -61,6 +61,7 @@ Object.keys(fs).forEach(key => {
61
api.forEach(method => {
62
exports[method] = u(fs[method])
63
})
64
+exports.realpath.native = u(fs.realpath.native)
65
66
// We differ from mz/fs in that we still ship the old, broken, fs.exists()
67
// since we are a drop-in replacement for the native module
@@ -123,8 +124,3 @@ if (typeof fs.writev === 'function') {
123
124
125
}
126
-
127
-// fs.realpath.native only available in Node v9.2+
128
-if (typeof fs.realpath.native === 'function') {
129
- exports.realpath.native = u(fs.realpath.native)
130
-}
0 commit comments