Skip to content

Commit

Permalink
Check for duplicates in partialTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonzalo-Avalos-Ribas committed Jun 24, 2024
1 parent bfd67e2 commit 8c0b69e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ export function executeStepDependencyGraph<
startTime,
endTime,
duration,
partialTypes: existingResult.partialTypes.concat(partialTypes ?? []),
partialTypes: Array.from(
new Set(existingResult.partialTypes.concat(partialTypes ?? [])),
),
});
}
}
Expand Down

0 comments on commit 8c0b69e

Please sign in to comment.