Skip to content

Commit

Permalink
edits discussed in meeting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matte22 committed Feb 22, 2024
1 parent 23f78c9 commit 5176679
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ReviewParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export function reviewsFromCkl(
override = parser.parse(comment)['Evaluate-STIG'][0]
}
catch (e) {
errorMessages.push(`Failed to parse Evaluate-STIG VULN XML comment for ${ruleId}`)
errorMessages.push(`Failed to parse Evaluate-STIG VULN XML comment for ${ruleId}, comment: ${comment}`)
}
override = normalizeKeys(override)
if (override.afmod?.toLowerCase() === 'true') {
Expand Down Expand Up @@ -355,7 +355,7 @@ export function reviewsFromCkl(
esIStigComment = parser.parse(comment)['Evaluate-STIG'][0]
}
catch (e) {
errorMessages.push(`Failed to parse Evaluate-STIG VULN XML comment ${comment}`)
errorMessages.push(`Failed to parse Evaluate-STIG ISTIG XML comment ${comment}`)
}
esIStigComment = normalizeKeys(esIStigComment)
resultEngineIStig = {
Expand All @@ -381,7 +381,7 @@ export function reviewsFromCkl(
esRootComment = parser.parse(comment)['Evaluate-STIG'][0]
}
catch (e) {
errorMessages.push(`Failed to parse Evaluate-STIG VULN XML comment for ${comment}`)
errorMessages.push(`Failed to parse Evaluate-STIG root XML comment for ${comment}`)
}
esRootComment = normalizeKeys(esRootComment)
resultEngineRoot = {
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ interface ParsedChecklist {
benchmarkId: string;
reviews: ParsedReview[];
revisionStr: string;
error: string[];
errors: string[];
stats: ParsedChecklistStats;
sourceRef: any;
}
Expand Down

0 comments on commit 5176679

Please sign in to comment.