Skip to content

Commit bdc71ea

Browse files
committed
feat(core): Add core loading also from config
1 parent 00e5bb5 commit bdc71ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/lando

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ const cores = [
107107
path.resolve(__dirname, '..'),
108108
];
109109

110+
if (typeof _.get(config, 'plugins.@lando/core') === 'string') {
111+
cores.unshift(path.resolve(appConfig.root, config.plugins['@lando/core']));
112+
}
113+
110114
// if appConfig points to a different core lets set that here
111115
if (typeof _.get(appConfig, 'plugins.@lando/core') === 'string') {
112116
cores.unshift(path.resolve(appConfig.root, appConfig.plugins['@lando/core']));

0 commit comments

Comments
 (0)