Skip to content

Commit

Permalink
removed unneeded optional chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
cd-rite committed Feb 28, 2024
1 parent eb53fb3 commit d9558b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReviewParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
})
Expand Down

0 comments on commit d9558b8

Please sign in to comment.