mirror of
https://github.com/knex/knex.git
synced 2025-10-26 23:39:16 +00:00
[Knex CLI] Fix debug option doesn't work
This commit is contained in:
parent
d6dc4d2dee
commit
2577663667
@ -64,6 +64,8 @@ function initKnex(env) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
if (argv.debug !== undefined)
|
||||
config.debug = argv.debug;
|
||||
var knex = require(env.modulePath);
|
||||
return knex(config);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user