We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cmd
1 parent 641de87 commit 8dff184Copy full SHA for 8dff184
1 file changed
index.js
@@ -130,19 +130,20 @@ BinWrapper.prototype.run = function (cmd, cb) {
130
return;
131
}
132
133
- this.runCheck(cb);
+ this.runCheck(cmd, cb);
134
}.bind(this));
135
};
136
137
/**
138
* Run binary check
139
*
140
+ * @param {Array} cmd
141
* @param {Function} cb
142
* @api private
143
*/
144
-BinWrapper.prototype.runCheck = function (cb) {
145
- binCheck(this.path(), function (err, works) {
+BinWrapper.prototype.runCheck = function (cmd, cb) {
146
+ binCheck(this.path(), cmd, function (err, works) {
147
if (err) {
148
cb(err);
149
0 commit comments