Skip to content

Commit 8e15f2b

Browse files
author
Bob Strahan
committed
Fix trailing whitespace in confidence alerts utils comments
1 parent a60f866 commit 8e15f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/src/components/common/confidence-alerts-utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,14 +294,14 @@ export const getFieldConfidenceInfo = (fieldName, explainabilityInfo, path = [],
294294
// Handle array indices
295295
const index = parseInt(pathSegment, 10);
296296
if (!Number.isNaN(index) && index >= 0 && index < currentExplainabilityData.length) {
297-
// nosemgrep: javascript.lang.security.audit.prototype-pollution.prototype-pollution-loop - Controlled data source, input validation performed upstream
297+
// nosemgrep: javascript.lang.security.audit.prototype-pollution.prototype-pollution-loop - Controlled data source, input validation performed upstream
298298
currentExplainabilityData = currentExplainabilityData[index];
299299
} else {
300300
return { hasConfidenceInfo: false };
301301
}
302302
} else {
303303
// Handle object properties
304-
// nosemgrep: javascript.lang.security.audit.prototype-pollution.prototype-pollution-loop - Controlled data source, input validation performed upstream
304+
// nosemgrep: javascript.lang.security.audit.prototype-pollution.prototype-pollution-loop - Controlled data source, input validation performed upstream
305305
currentExplainabilityData = currentExplainabilityData[pathSegment];
306306
}
307307
} else {

0 commit comments

Comments
 (0)