mirror of
https://github.com/knex/knex.git
synced 2025-07-07 17:10:49 +00:00
Relative directory config for path.resolve in #515
This commit is contained in:
parent
c5e87fae75
commit
b718e2da64
@ -139,7 +139,7 @@ Seeder.prototype._absoluteConfigDir = function() {
|
|||||||
Seeder.prototype.setConfig = function(config) {
|
Seeder.prototype.setConfig = function(config) {
|
||||||
return _.extend({
|
return _.extend({
|
||||||
extension: 'js',
|
extension: 'js',
|
||||||
directory: '/seeds'
|
directory: './seeds'
|
||||||
}, this.config || {}, config);
|
}, this.config || {}, config);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user