We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.path()
1 parent 37d32f8 commit eaccf34Copy full SHA for eaccf34
1 file changed
index.js
@@ -96,16 +96,13 @@ BinWrapper.prototype.version = function (range) {
96
};
97
98
/**
99
- * Get the binary path
+ * Get path to the binary
100
*
101
* @api public
102
*/
103
104
BinWrapper.prototype.path = function () {
105
- var dir = path.join(this.dest(), path.dirname(this.use()));
106
- var bin = path.basename(this.use());
107
-
108
- return path.join(dir, bin);
+ return path.join(this.dest(), this.use());
109
110
111
0 commit comments