Remove unneeded param from buildRootConfig.
This commit is contained in:
parent
ec2e0b664a
commit
85174b6ce1
@ -108,7 +108,6 @@ const loadPresetOverridesEnvDescriptors = makeWeakCache(
|
||||
* Build a config chain for Babel's full root configuration.
|
||||
*/
|
||||
export function buildRootChain(
|
||||
cwd: string,
|
||||
opts: ValidatedOptions,
|
||||
context: ConfigContext,
|
||||
): ConfigChain | null {
|
||||
|
||||
@ -62,7 +62,7 @@ export default function loadConfig(inputOpts: mixed): ResolvedConfig | null {
|
||||
envName,
|
||||
};
|
||||
|
||||
const configChain = buildRootChain(absoluteCwd, args, context);
|
||||
const configChain = buildRootChain(args, context);
|
||||
if (!configChain) return null;
|
||||
|
||||
const optionDefaults = {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user