From 3ecb9f102f266806dcfa3c7b5298537206b8fabf Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:37:33 -0400 Subject: [PATCH] Run prettier --- lib/utils/get-role.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/utils/get-role.js b/lib/utils/get-role.js index 35e63308..54654ee8 100644 --- a/lib/utils/get-role.js +++ b/lib/utils/get-role.js @@ -46,7 +46,8 @@ function getRole(context, node) { const explicitRole = getLiteralPropValue(getProp(node.attributes, 'role')) if (explicitRole) { return explicitRole - } else if (getProp(node.attributes, 'role')) { // If role is set to anything other than a literal prop + } else if (getProp(node.attributes, 'role')) { + // If role is set to anything other than a literal prop return undefined }