Skip to content

Commit c976852

Browse files
committed
test: fix no-unsafe-negation violation
1 parent f45ddad commit c976852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

@commitlint/core/src/rules/footer-contains.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import ensureContains from '../library/ensure-contains';
22
import message from '../library/message';
33

44
export default (parsed, when, value) => {
5-
if (!parsed.scope) {
5+
if (!(parsed.scope)) {
66
return [true, ''];
77
}
88

0 commit comments

Comments
 (0)