realpath-native
Advanced tools
Comparing version
@@ -35,3 +35,7 @@ 'use strict'; | ||
if (fsBinding.realpath) { | ||
return process.binding('fs').realpath(filepath, 'utf8'); | ||
try { | ||
return fsBinding.realpath(filepath, 'utf8'); | ||
} catch (err) { | ||
/* Probably RAM-disk on windows. */ | ||
} | ||
} | ||
@@ -38,0 +42,0 @@ |
{ | ||
"name": "realpath-native", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
4570
1.51%36
12.5%