Skip to content

Commit

Permalink
fix(resolveBin): use fs.realpathSync
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds committed Sep 22, 2017
1 parent 930fb82 commit 48f42a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function resolveKcdScripts() {
function resolveBin(modName, {executable = modName} = {}) {
let pathFromWhich
try {
pathFromWhich = which.sync(executable)
pathFromWhich = fs.realpathSync(which.sync(executable))
} catch (_error) {
// ignore _error
}
Expand Down

0 comments on commit 48f42a0

Please sign in to comment.