Skip to content

Commit 5e2df32

Browse files
committed
fix argv config overrides
1 parent ef4dc7a commit 5e2df32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/lib/launch-from-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const launchFromCli = async (importMeta, {
4949

5050
const configManager = new ConfigManager();
5151

52-
await configManager.loadConfig(userConfig, parsedArgv.config);
52+
await configManager.loadConfig({ ...userConfig, ...parsedArgv }, parsedArgv.config);
5353
/** @type {any} TODO: figure out where to add this 'logging' property */
5454
const config = configManager.getConfig();
5555
LogManager.getInstance(config.logging || config);

0 commit comments

Comments
 (0)