better printing of insecure feature names
MODIFY
lib/appium.js
lib/appium.js
@@ -334,14 +334,14 @@ class AppiumDriver extends BaseDriver {
}
if (!_.isEmpty(this.args.denyInsecure)) {
- log.info(`Explicitly preventing use of insecure features ` +
- `${JSON.stringify(this.args.allowInsecure)} for this server`);
+ log.info('Explicitly preventing use of insecure features:');
+ this.args.denyInsecure.map((a) => log.info(` ${a}`));
d.denyInsecure = this.args.denyInsecure;
}
if (!_.isEmpty(this.args.allowInsecure)) {
- log.info(`Enabling insecure features ${JSON.stringify(this.args.allowInsecure)} ` +
- `for this server (unless denied by --deny-insecure)`);
+ log.info('Explicitly enabling use of insecure features:');
+ this.args.allowInsecure.map((a) => log.info(` ${a}`));
d.allowInsecure = this.args.allowInsecure;
}

better printing of insecure feature names