Skip to content

Commit

Permalink
Fix bin-overwriting test on Windows
Browse files Browse the repository at this point in the history
Paired with @ruyadorno

PR-URL: #659
Credit: @isaacs
Close: #659
Reviewed-by: @ruyadorno
  • Loading branch information
isaacs authored and ruyadorno committed Jan 9, 2020
1 parent 9295046 commit 3f009fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tap/bin-overwriting.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const readBin = bin => new Promise((resolve, reject) => {
if (er) {
reject(er)
} else {
resolve(path.resolve(pkg + '/global/bin', target))
resolve(path.resolve(path.dirname(bin), target))
}
})
})
Expand Down

0 comments on commit 3f009fb

Please sign in to comment.