Fix formatting for remove-global-client-apis automigration

This commit is contained in:
Michael Shilman 2022-12-01 11:16:01 +08:00
parent c64ae90983
commit 6245ea2616

View File

@ -49,7 +49,8 @@ export const removedGlobalClientAPIs: Fix<GlobalClientAPIOptions> = {
prompt({ usedAPIs, previewPath }) {
return dedent`
The following APIs (used in "${chalk.yellow(previewPath)}") have been removed from Storybook:
${usedAPIs.map(chalk.cyan).join(', ')}
${usedAPIs.map((api) => `- ${chalk.cyan(api)}`).join('\n')}
You'll need to update "${chalk.yellow(previewPath)}" manually.