fix(appium): do not pollute pre-config parsed args with config file & defaults
MODIFY
packages/appium/lib/main.js
packages/appium/lib/main.js
@@ -213,7 +213,7 @@ async function init(args) {
const defaults = getDefaultsForSchema(false);
/** @type {ParsedArgs} */
- const serverArgs = _.defaultsDeep(preConfigArgs, configResult.config?.server, defaults);
+ const serverArgs = _.defaultsDeep({}, preConfigArgs, configResult.config?.server, defaults);
if (preConfigArgs.showConfig) {
showConfig(getNonDefaultServerArgs(preConfigArgs), configResult, defaults, serverArgs);

fix(appium): do not pollute pre-config parsed args with config file & defaults