Skip to content

Commit

Permalink
fix lang error
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Nov 22, 2024
1 parent 2df379b commit 83db158
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions config/CLIConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}
)
);
}

Expand Down

0 comments on commit 83db158

Please sign in to comment.