Commit d7327b4f by xzyfer

Handle true-case-path permissions error

Related https://github.com/barsh/true-case-path/issues/2

Fixes #2157

Closes #2161
parent e38a59c5
...@@ -277,7 +277,11 @@ function getBinaryPath() { ...@@ -277,7 +277,11 @@ function getBinaryPath() {
return binaryPath; return binaryPath;
} }
try {
return trueCasePathSync(binaryPath) || binaryPath; return trueCasePathSync(binaryPath) || binaryPath;
} catch (e) {
return 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