diff --git a/packages/sanity/src/_internal/cli/commands/migration/runMigrationCommand.ts b/packages/sanity/src/_internal/cli/commands/migration/runMigrationCommand.ts index a506dfcdde0..84aec3381dd 100644 --- a/packages/sanity/src/_internal/cli/commands/migration/runMigrationCommand.ts +++ b/packages/sanity/src/_internal/cli/commands/migration/runMigrationCommand.ts @@ -124,7 +124,7 @@ const runMigrationCommand: CliCommandDefinition = { if (!script) { throw new Error( `No migration found for "${id}" in current directory. Make sure that the migration file exists and exports a valid migration as its default export.\n - Tried the following files:\n -${candidates + Tried the following files:\n - ${candidates .map((candidate) => candidate.relativePath) .join('\n - ')}`, )