Skip to content

Commit da5a309

Browse files
committed
CCM-11492 Some changes missed from main merge
1 parent ed1f70e commit da5a309

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

scripts/githooks/check-file-format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function run-editorconfig-in-docker() {
103103
docker run --rm --platform linux/amd64 \
104104
--volume "$PWD":/check \
105105
"$image" \
106-
sh -c "set -x; ec --exclude '.git/' $dry_run_opt \$($filter) /dev/null"
106+
sh -c "ec --exclude '.git/' $dry_run_opt \$($filter) /dev/null"
107107
}
108108

109109
# ==============================================================================

utils/utils/src/enum.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,19 @@ export function isRightToLeft(language: Language): boolean {
267267
return languageMap[language].rtl;
268268
}
269269

270+
export const MESSAGE_ORDER_OPTIONS_LIST = [
271+
'NHSAPP',
272+
'NHSAPP,EMAIL',
273+
'NHSAPP,SMS',
274+
'NHSAPP,EMAIL,SMS',
275+
'NHSAPP,SMS,EMAIL',
276+
'NHSAPP,SMS,LETTER',
277+
'NHSAPP,EMAIL,SMS,LETTER',
278+
'LETTER',
279+
] as const;
280+
281+
export type MessageOrder = (typeof MESSAGE_ORDER_OPTIONS_LIST)[number];
282+
270283
export const ORDINALS = [
271284
'First',
272285
'Second',
@@ -326,16 +339,3 @@ export const messagePlanStatusToDisplayText = (
326339
export const messagePlanStatusToTagColour = (
327340
status: RoutingConfigStatus
328341
): Colour => messagePlanStatusColourMappings[status];
329-
330-
export const MESSAGE_ORDER_OPTIONS_LIST = [
331-
'NHSAPP',
332-
'NHSAPP,EMAIL',
333-
'NHSAPP,SMS',
334-
'NHSAPP,EMAIL,SMS',
335-
'NHSAPP,SMS,EMAIL',
336-
'NHSAPP,SMS,LETTER',
337-
'NHSAPP,EMAIL,SMS,LETTER',
338-
'LETTER',
339-
] as const;
340-
341-
export type MessageOrder = (typeof MESSAGE_ORDER_OPTIONS_LIST)[number];

0 commit comments

Comments
 (0)