We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5332646 + e9b54b6 commit c4eb9e3Copy full SHA for c4eb9e3
lib/migration-strategy/custom.js
@@ -13,7 +13,7 @@ function loadCustomizations(config) {
13
return require(customPath);
14
} catch (e) {
15
// If module not found ignore, otherwise crash
16
- if (e.code !== 'MODULE_NOT_FOUND' || !e.message.endsWith(`'${customPath}'`)) {
+ if (e.code !== 'MODULE_NOT_FOUND' || !(e.message.split('\n')[0].endsWith(`'${customPath}'`))) {
17
throw e;
18
}
19
0 commit comments