Skip to content

Commit c232f5c

Browse files
committed
refactor: use explicit comparisons
1 parent ffba43d commit c232f5c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ module.exports = function (options) {
55
options = {}
66
}
77

8-
if (!options.classIgnore) {
8+
if (options.classIgnore === undefined) {
99
options.classIgnore = []
1010
}
1111

12-
if (!options.extensionIgnore) {
12+
if (options.extensionIgnore === undefined) {
1313
options.extensionIgnore = []
1414
}
1515

0 commit comments

Comments
 (0)