rake-db 2.3.44 → 2.3.45

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
@@ -1323,7 +1323,7 @@ const processMigration = async (db, up, file, config, options, appCodeUpdaterCac
1323
1323
  try {
1324
1324
  await config.import(file.path);
1325
1325
  } catch (err) {
1326
- if (err.code === "ERR_UNSUPPORTED_ESM_URL_SCHEME")
1326
+ if (err.code !== "ERR_UNSUPPORTED_ESM_URL_SCHEME")
1327
1327
  throw err;
1328
1328
  await config.import(url__namespace.pathToFileURL(file.path).pathname);
1329
1329
  }