better printing of insecure feature names

This commit is contained in:
Jonathan Lipps
2019-06-20 13:09:42 -07:00
parent ede9605458
commit 2bd4e486a7
+4 -4
View File
@@ -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;
}