Skip to content

Commit

Permalink
consistent undefined results when no feature found in selection buffer
Browse files Browse the repository at this point in the history
(was either null or undefined depending on code path)
  • Loading branch information
bcamper committed Dec 21, 2016
1 parent 3689b2f commit 5cf61dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default class FeatureSelection {
}
// No feature found, but still need to resolve promise
else {
this.finishRead({ id: request.id, feature: null });
this.finishRead({ id: request.id });
}

request.sent = true;
Expand Down

0 comments on commit 5cf61dd

Please sign in to comment.