mirror of
https://github.com/appium/appium.git
synced 2026-10-26 02:29:38 +08:00
better printing of insecure feature names
This commit is contained in:
+4
-4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user