feat(config): allow config.yml file load to be skipped (#2053)
This commit is contained in:
committed by
Shawn Erquhart
parent
22e047e723
commit
14f94a022c
@ -111,7 +111,10 @@ export function loadConfig() {
|
||||
try {
|
||||
const preloadedConfig = getState().config;
|
||||
const configUrl = getConfigUrl();
|
||||
const loadedConfig = await getConfig(configUrl, preloadedConfig && preloadedConfig.size > 1);
|
||||
const loadedConfig =
|
||||
preloadedConfig && preloadedConfig.get('load_config_file') === false
|
||||
? {}
|
||||
: await getConfig(configUrl, preloadedConfig && preloadedConfig.size > 1);
|
||||
|
||||
/**
|
||||
* Merge any existing configuration so the result can be validated.
|
||||
|
Reference in New Issue
Block a user