Open KrugJu opened 4 years ago
When a password is not specified using the -p flag, it is still passed to sequelize as if there was a password specified. I fixed this by removing the default value for password. Previously:
-p
.option('password', { alias: 'p', describe: 'Password for database.', type: 'string', default: 'root', })
Now:
.option('password', { alias: 'p', describe: 'Password for database.', type: 'string', })
When a password is not specified using the
-p
flag, it is still passed to sequelize as if there was a password specified. I fixed this by removing the default value for password. Previously:Now: