Skip to content

Commit 3142035

Browse files
committed
Addressed PR comment
1 parent 870343a commit 3142035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/checks/color/link-in-text-block-evaluate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function isBlock(elm) {
2828
}
2929

3030
function linkInTextBlockEvaluate(node) {
31-
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
31+
var options = arguments.length > 1 && !arguments[1] ? arguments[1] : {};
3232
if (isBlock(node)) {
3333
return false;
3434
}

0 commit comments

Comments
 (0)