Skip to content

Commit

Permalink
Fix inspect by id in CLI
Browse files Browse the repository at this point in the history
Bug introduced in dba3ed8
  • Loading branch information
cyrus-and committed Sep 1, 2017
1 parent 6e752a0 commit a62257c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/client.js
Expand Up @@ -41,8 +41,8 @@ function inspect(target, args, options) {
} else {
// by target id
options.target = function (targets) {
return targets.findIndex(function (target) {
return target.id === target;
return targets.findIndex(function (_target) {
return _target.id === target;
});
};
}
Expand Down

0 comments on commit a62257c

Please sign in to comment.