Skip to content

Commit cc19659

Browse files
committed
Bad paren
1 parent f3d75e6 commit cc19659

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rules/forward-ref-uses-ref.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ module.exports = {
7474
const shouldAddParentheses = node.type === 'ArrowFunctionExpression' && !isParenthesized(context, param);
7575
return [].concat(
7676
shouldAddParentheses ? fixer.insertTextBefore(param, '(') : [],
77-
fixer.insertTextAfter(param, `, ref${shouldAddParentheses ? ')' : ''}`),
78-
};
77+
fixer.insertTextAfter(param, `, ref${shouldAddParentheses ? ')' : ''}`)
78+
);
7979
},
8080
}
8181
),

0 commit comments

Comments
 (0)