@@ -2,7 +2,7 @@ import process from 'process';
22import { _baseOptions , _underscoreOption } from '../core/yargs' ;
33
44import helpers from '../helpers' ;
5- import clc from 'cli-color ' ;
5+ import colors from 'picocolors ' ;
66
77exports . builder = ( yargs ) =>
88 _underscoreOption (
@@ -38,12 +38,12 @@ exports.handler = function (args) {
3838 helpers . migration . generateTableCreationFile ( args ) ;
3939 helpers . view . log (
4040 'New model was created at' ,
41- clc . blueBright ( helpers . path . getModelPath ( args . name ) ) ,
41+ colors . blueBright ( helpers . path . getModelPath ( args . name ) ) ,
4242 '.'
4343 ) ;
4444 helpers . view . log (
4545 'New migration was created at' ,
46- clc . blueBright (
46+ colors . blueBright (
4747 helpers . path . getMigrationPath (
4848 helpers . migration . generateMigrationName ( args )
4949 )
@@ -60,7 +60,7 @@ function ensureModelsFolder() {
6060 'Unable to find models path (' +
6161 helpers . path . getModelsPath ( ) +
6262 '). Did you run ' +
63- clc . blueBright ( 'sequelize init' ) +
63+ colors . blueBright ( 'sequelize init' ) +
6464 '?'
6565 ) ;
6666 }
@@ -72,7 +72,7 @@ function ensureMigrationsFolder() {
7272 'Unable to find migrations path (' +
7373 helpers . path . getPath ( 'migration' ) +
7474 '). Did you run ' +
75- clc . blueBright ( 'sequelize init' ) +
75+ colors . blueBright ( 'sequelize init' ) +
7676 '?'
7777 ) ;
7878 }
0 commit comments