From 83db1588b7b33374522027fa8c677a2a68dc140a Mon Sep 17 00:00:00 2001 From: Camden Phalen Date: Fri, 22 Nov 2024 16:28:13 -0500 Subject: [PATCH] fix lang error --- config/CLIConfiguration.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/config/CLIConfiguration.ts b/config/CLIConfiguration.ts index f0c6744..fb782e1 100644 --- a/config/CLIConfiguration.ts +++ b/config/CLIConfiguration.ts @@ -569,10 +569,13 @@ class _CLIConfiguration { !ALL_CMS_PUBLISH_MODES.find(m => m === defaultCmsPublishMode) ) { throw new Error( - i18n(`${i18nKey}.updateDefaultMode.errors.invalidMode`, { - defaultCmsPublishMode, - validCmsPublishModes: commaSeparatedValues(ALL_CMS_PUBLISH_MODES), - }) + i18n( + `${i18nKey}.updateDefaultCmsPublishMode.errors.invalidCmsPublishMode`, + { + defaultCmsPublishMode, + validCmsPublishModes: commaSeparatedValues(ALL_CMS_PUBLISH_MODES), + } + ) ); }