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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1295,7 +1295,7 @@ const processMigration = async (db, up, file, config, options, appCodeUpdaterCac
|
|
|
1295
1295
|
try {
|
|
1296
1296
|
await config.import(file.path);
|
|
1297
1297
|
} catch (err) {
|
|
1298
|
-
if (err.code
|
|
1298
|
+
if (err.code !== "ERR_UNSUPPORTED_ESM_URL_SCHEME")
|
|
1299
1299
|
throw err;
|
|
1300
1300
|
await config.import(url.pathToFileURL(file.path).pathname);
|
|
1301
1301
|
}
|