pull/13166/head
Obada Khalili 1 year ago
parent 636e381cf0
commit 84a7a61c48

@ -28,7 +28,7 @@ const IterationLogTrigger = ({
if (parallelNodes.length > 0)
return parallelNodes
const serialIndex = parseInt(key, 10)
const serialIndex = Number.parseInt(key, 10)
if (!isNaN(serialIndex)) {
const serialNodes = allExecutions.filter(exec =>
exec.execution_metadata?.iteration_id === nodeInfo.node_id

@ -29,7 +29,7 @@ const LoopLogTrigger = ({
if (parallelNodes.length > 0)
return parallelNodes
const serialIndex = parseInt(key, 10)
const serialIndex = Number.parseInt(key, 10)
if (!isNaN(serialIndex)) {
const serialNodes = allExecutions.filter(exec =>
exec.execution_metadata?.loop_id === nodeInfo.node_id

@ -167,7 +167,7 @@ export default combine(
'sonarjs/max-lines': 'warn', // max 1000 lines
'sonarjs/no-variable-usage-before-declaration': 'error',
// security
// eslint-disable-next-line sonarjs/no-hardcoded-passwords
'sonarjs/no-hardcoded-passwords': 'off', // detect the wrong code that is not password.
'sonarjs/no-hardcoded-secrets': 'off',
'sonarjs/pseudo-random': 'off',

Loading…
Cancel
Save