Skip to content

Commit 247424f

Browse files
gradutaCopilot
andauthored
Update lib/server/services/run/getRunDefinition.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1b7412b commit 247424f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/server/services/run/getRunDefinition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const getRunDefinition = (run) => {
7878
} else if (
7979
!dcs
8080
&& triggerValue === 'OFF'
81-
&& (runType?.name?.match(/^replay$/i) || runType?.name?.match(/^synthetic$/i))
81+
&& runType?.name?.match(/^(?:replay|synthetic)$/i)
8282
) {
8383
definition = RunDefinition.SYNTHETIC;
8484
} else if (CALIBRATION_RUN_TYPES_STARTS_WITH.some((prefix) => runType?.name?.toUpperCase().startsWith(prefix))) {

0 commit comments

Comments
 (0)