Skip to content

Commit

Permalink
Mark a single line of Vision uncovered.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sneeringer committed Mar 31, 2017
1 parent 0b2c4c3 commit 565ab9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vision/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ Vision.prototype.detect = function(images, options, callback) {

for (var prop in annotation) {
if (prop !== requestedAnnotationType && prop !== 'error') {
/* istanbul ignore next */
delete annotation[prop];
}
}
Expand Down

0 comments on commit 565ab9c

Please sign in to comment.