From 2bd4e486a74a77c76a8dc39cecab545fd4d32312 Mon Sep 17 00:00:00 2001 From: Jonathan Lipps Date: Thu, 20 Jun 2019 13:09:42 -0700 Subject: [PATCH] better printing of insecure feature names --- lib/appium.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/appium.js b/lib/appium.js index 8695d1475..0a053de20 100644 --- a/lib/appium.js +++ b/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; }