CLI: execute automigrations on enter

This commit is contained in:
Yann Braga 2022-12-12 17:31:21 +01:00
parent c79613ce42
commit 2c583f543b

View File

@ -66,6 +66,7 @@ export const automigrate = async ({ fixId, dryRun, yes, useNpm, force }: FixOpti
type: 'confirm',
name: 'fix',
message: `Do you want to run the '${chalk.cyan(f.id)}' migration on your project?`,
initial: true,
});
}