mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
Fix formatting for remove-global-client-apis automigration
This commit is contained in:
parent
c64ae90983
commit
6245ea2616
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user