Commit 40d1827c by xzyfer

Bypass true case path for old Node versions

This was added in #2149 but doesn't support Node < 4
parent cabbee9f
......@@ -273,6 +273,10 @@ function getBinaryPath() {
binaryPath = path.join(defaultBinaryPath, getBinaryName().replace(/_(?=binding\.node)/, '/'));
}
if (process.versions.modules < 46) {
return binaryPath;
}
return trueCasePathSync(binaryPath) || binaryPath;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment