From d9558b8f07eea8c270ce2a96b74c050a47de99f6 Mon Sep 17 00:00:00 2001 From: cd-rite <61710958+cd-rite@users.noreply.github.com> Date: Wed, 28 Feb 2024 11:59:12 -0500 Subject: [PATCH] removed unneeded optional chaining --- ReviewParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReviewParser.js b/ReviewParser.js index b4996a7..c3cd531 100644 --- a/ReviewParser.js +++ b/ReviewParser.js @@ -293,7 +293,7 @@ export function reviewsFromCkl( if (!stigDatum.ATTRIBUTE_DATA) { return false } - ruleId = stigDatum.ATTRIBUTE_DATA?.endsWith('_rule') ? stigDatum.ATTRIBUTE_DATA : stigDatum.ATTRIBUTE_DATA + '_rule' + ruleId = stigDatum.ATTRIBUTE_DATA.endsWith('_rule') ? stigDatum.ATTRIBUTE_DATA : stigDatum.ATTRIBUTE_DATA + '_rule' return true } })