Skip to content

Commit

Permalink
placeholder copy for deprecated platform version message
Browse files Browse the repository at this point in the history
  • Loading branch information
brandenrodgers committed Dec 12, 2023
1 parent 00c8e4b commit 33daffe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/lang/en.lyaml
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ en:
showPlatformVersionWarning:
noPlatformVersion: "No platformVersion found in hsproject.json. Falling back to version \"{{ defaultVersion }}\"."
noPlatformVersionAlt: "No platformVersion found in hsproject.json. Falling back to default version."
deprecatedVersion: "Projects with platformVersion 2023.1 or unspecified versions will no longer be supported on"
ui:
betaTag: "{{#bold}}[BETA]{{/bold}}"
betaWarning:
Expand Down
6 changes: 6 additions & 0 deletions packages/cli/lib/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,12 @@ const showPlatformVersionWarning = async (accountId, projectConfig) => {
logger.log('');
logger.debug(e.error);
}
} else if (platformVersion === '2023.1') {
logger.log('');
logger.warn(
i18n(`${i18nKey}.showPlatformVersionWarning.deprecatedVersion`)
);
logger.log('');
}
};

Expand Down

0 comments on commit 33daffe

Please sign in to comment.