You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/12/05 13:38:23 UTC
[cordova-paramedic] 02/08: move var into method using it
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch janpio-split_paramedicjs
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git
commit 16368c58a20624a95f0d12e35f239121c1b927f6
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Mon Dec 3 16:42:19 2018 +0100
move var into method using it
---
lib/paramedic.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/paramedic.js b/lib/paramedic.js
index 5ae1651..d60856c 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -49,9 +49,6 @@ require('./appium/helpers/wdHelper');
// If device has not connected within this interval the tests are stopped.
var INITIAL_CONNECTION_TIMEOUT = 540000; // 9mins
-var applicationsToGrantPermission = [
- 'kTCCServiceAddressBook'
-];
function ParamedicRunner(config, _callback) {
this.tempFolder = null;
@@ -240,6 +237,9 @@ ParamedicRunner.prototype.checkPlatformRequirements = function () {
};
ParamedicRunner.prototype.setPermissions = function () {
+ var applicationsToGrantPermission = [
+ 'kTCCServiceAddressBook'
+ ];
if(this.config.getPlatformId() === util.IOS) {
logger.info('cordova-paramedic: Setting required permissions.');
var tccDb = this.config.getTccDb();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org