Skip to content

Commit

Permalink
Hotifx - Issue:1785 - fixed no-deprecated bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolo Taddei committed May 11, 2018
1 parent fb7411d commit 874b0a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rules/no-deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ module.exports = {
return (
deprecated &&
deprecated[method] &&
deprecated[method][0] &&
versionUtil.testReactVersion(context, deprecated[method][0])
);
}
Expand Down

0 comments on commit 874b0a1

Please sign in to comment.