Skip to content

Commit

Permalink
cover nulls too
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz committed Oct 2, 2021
1 parent 10b40c9 commit c566ebf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/linter/test-support-history.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ function includesTrackingBug(statement) {
*/
function hasSupportHistory(data) {
return Object.values(data.__compat.support).some(
c =>
Array.isArray(c) || c.version_added !== false || includesTrackingBug(c),
c => Array.isArray(c) || !!c.version_added || includesTrackingBug(c),
);
}

Expand Down

0 comments on commit c566ebf

Please sign in to comment.