Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a5a86 commit 2fe00b9Copy full SHA for 2fe00b9
test/tap/bin-overwriting.js
@@ -11,7 +11,7 @@ const readBin = bin => new Promise((resolve, reject) => {
11
if (er) {
12
reject(er)
13
} else {
14
- resolve(path.resolve(pkg + '/global/bin', target))
+ resolve(path.resolve(path.dirname(bin), target))
15
}
16
})
17
0 commit comments