mirror of
https://github.com/knex/knex.git
synced 2025-12-28 23:48:58 +00:00
Change seed generation to have same directory behaviour as migration
Change to seed behaviour to use the same path resolution as migration - essentially, replicating change SHA:b7672df53623dc9112c13120fc46eca5a48e5dd4 by @demmer
This commit is contained in:
parent
875f0a6e59
commit
fda990b02d
@ -133,7 +133,7 @@ Seeder.prototype._waterfallBatch = function(seeds) {
|
||||
};
|
||||
|
||||
Seeder.prototype._absoluteConfigDir = function() {
|
||||
return path.join(process.cwd(), this.config.directory);
|
||||
return path.resolve(process.cwd(), this.config.directory);
|
||||
};
|
||||
|
||||
Seeder.prototype.setConfig = function(config) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user