Skip to content

Commit

Permalink
Alright let return back those lint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
CurtisHumphrey committed Mar 3, 2016
1 parent 14f35c1 commit 121ccdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MountedTraversal.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export function buildInstPredicate(selector) {
// selector is a string. match to DOM tag or constructor displayName
return inst => instHasType(inst, selector);
}
break;

case 'object':
if (!Array.isArray(selector) && selector !== null && !isEmpty(selector)) {
return node => instMatchesObjectProps(node, selector);
Expand Down
2 changes: 1 addition & 1 deletion src/ShallowTraversal.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function buildPredicate(selector) {
// selector is a string. match to DOM tag or constructor displayName
return node => nodeHasType(node, selector);
}
break;

case 'object':
if (!Array.isArray(selector) && selector !== null && !isEmpty(selector)) {
return node => nodeMatchesObjectProps(node, selector);
Expand Down

0 comments on commit 121ccdf

Please sign in to comment.