rake-db 2.3.35 → 2.3.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6,7 +6,6 @@ var pqb = require('pqb');
6
6
  var path = require('path');
7
7
  var promises = require('fs/promises');
8
8
  var prompts = require('prompts');
9
- var url = require('url');
10
9
 
11
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
12
11
 
@@ -1318,7 +1317,7 @@ const processMigration = async (db, up, file, config, options, appCodeUpdaterCac
1318
1317
  clearChanges();
1319
1318
  let changes = changeCache[file.path];
1320
1319
  if (!changes) {
1321
- await config.import(url.pathToFileURL(file.path).pathname);
1320
+ await config.import(file.path);
1322
1321
  changes = getCurrentChanges();
1323
1322
  changeCache[file.path] = changes;
1324
1323
  }