Skip to content

Commit 3ecb9f1

Browse files
committed
Run prettier
1 parent 19e4ba9 commit 3ecb9f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/utils/get-role.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ function getRole(context, node) {
4646
const explicitRole = getLiteralPropValue(getProp(node.attributes, 'role'))
4747
if (explicitRole) {
4848
return explicitRole
49-
} else if (getProp(node.attributes, 'role')) { // If role is set to anything other than a literal prop
49+
} else if (getProp(node.attributes, 'role')) {
50+
// If role is set to anything other than a literal prop
5051
return undefined
5152
}
5253

0 commit comments

Comments
 (0)